How to Install mmmagic NPM Packages on Ubuntu / Debian

How to Install mmmagic software package in NPM Packages

mmmagic : An async libmagic binding for node.js for detecting content types by data inspection. You can installing mmmagic 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 mmmagic
$ sudo npm install -g mmmagic

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

$ sudo npm update mmmagic

Update package globally,

$ npm install -g mmmagic

Git clone:

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

mmmagic@0.4.5 /usr/lib/node_modules/mmmagic

How to remove mmmagic package :

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

$ sudo npm uninstall mmmagic

Basic Information of mmmagic NPM Package:

Package Name mmmagic
Version 0.4.5
Description An async libmagic binding for node.js for detecting content types by data inspection
Released Date 2016-08-03T08:56:38.592Z
Published by mscdex
How to Learn https://www.npmjs.com/package/mmmagic/tutorial