mime-types : The ultimate javascript content-type utility.. You can installing mime-types 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-types $ sudo npm install -g mime-types
If want to update the mime-types package execute the command as below,
$ sudo npm update mime-types
Update package globally,
$ npm install -g mime-types
$ sudo git clone https://github.com/rektide/mime-types.git
$ sudo npm install -g ./mime-types
mime-types@2.1.17 /usr/lib/node_modules/mime-types
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mime-types
Package Name | mime-types |
Version | 2.1.17 |
Description | The ultimate javascript content-type utility. |
Released Date | 2017-09-02T03:26:34.147Z |
Published by | dougwilson |
How to Learn | https://www.npmjs.com/package/mime-types/tutorial |