How to Install mime NPM Packages on Ubuntu / Debian

How to Install mime software package in NPM Packages

mime : A comprehensive library for mime-type mapping. You can installing mime 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 mime
$ sudo npm install -g mime

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

$ sudo npm update mime

Update package globally,

$ npm install -g mime

Git clone:

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

mime@1.6.0 /usr/lib/node_modules/mime

How to remove mime package :

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

$ sudo npm uninstall mime

Basic Information of mime NPM Package:

Package Name mime
Version 1.6.0
Description A comprehensive library for mime-type mapping
Released Date 2017-11-25T00:53:19.104Z
Published by broofa
How to Learn https://www.npmjs.com/package/mime/tutorial