How to Install sanitize-filename NPM Packages on Ubuntu / Debian

How to Install sanitize-filename software package in NPM Packages

sanitize-filename : Sanitize a string for use as a filename. You can installing sanitize-filename 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 sanitize-filename
$ sudo npm install -g sanitize-filename

If want to update the sanitize-filename package execute the command as below,

$ sudo npm update sanitize-filename

Update package globally,

$ npm install -g sanitize-filename

Git clone:

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

sanitize-filename@1.6.1 /usr/lib/node_modules/sanitize-filename

How to remove sanitize-filename package :

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

$ sudo npm uninstall sanitize-filename

Basic Information of sanitize-filename NPM Package:

Package Name sanitize-filename
Version 1.6.1
Description Sanitize a string for use as a filename
Released Date 2016-09-29T17:46:30.871Z
Published by parshap
How to Learn https://www.npmjs.com/package/sanitize-filename/tutorial