How to Install mime-db NPM Packages on Ubuntu / Debian

How to Install mime-db software package in NPM Packages

mime-db : Media Type Database. You can installing mime-db 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-db
$ sudo npm install -g mime-db

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

$ sudo npm update mime-db

Update package globally,

$ npm install -g mime-db

Git clone:

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

mime-db@1.31.0 /usr/lib/node_modules/mime-db

How to remove mime-db package :

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

$ sudo npm uninstall mime-db

Basic Information of mime-db NPM Package:

Package Name mime-db
Version 1.31.0
Description Media Type Database
Released Date 2017-10-26T03:25:52.356Z
Published by dougwilson
How to Learn https://www.npmjs.com/package/mime-db/tutorial