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
$ sudo git clone https://github.com/rektide/mime.git
$ sudo npm install -g ./mime
mime@1.6.0 /usr/lib/node_modules/mime
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mime
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 |