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