How to Install mimetype NPM Packages on Ubuntu / Debian

How to Install mimetype software package in NPM Packages

mimetype : A mime type catalog driven by filename extensions.. You can installing mimetype npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install mimetype
$ sudo npm install -g mimetype

If want to update the mimetype package execute the command as below,

$ sudo npm update mimetype

Update package globally,

$ npm install -g mimetype

Git clone:

$ sudo  git clone https://github.com/rektide/mimetype.git
$ sudo  npm install -g ./mimetype

mimetype@0.0.8 /usr/lib/node_modules/mimetype

How to remove mimetype package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall mimetype

Basic Information of mimetype NPM Package:

Package Name mimetype
Version 0.0.8
Description A mime type catalog driven by filename extensions.
Released Date 2015-11-17T21:19:42.945Z
Published by rsdoiel
How to Learn https://www.npmjs.com/package/mimetype/tutorial