How to Install magic-string NPM Packages on Ubuntu / Debian

How to Install magic-string software package in NPM Packages

magic-string : Modify strings, generate sourcemaps. You can installing magic-string 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 magic-string
$ sudo npm install -g magic-string

If want to update the magic-string package execute the command as below,

$ sudo npm update magic-string

Update package globally,

$ npm install -g magic-string

Git clone:

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

magic-string@0.22.4 /usr/lib/node_modules/magic-string

How to remove magic-string package :

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

$ sudo npm uninstall magic-string

Basic Information of magic-string NPM Package:

Package Name magic-string
Version 0.22.4
Description Modify strings, generate sourcemaps
Released Date 2017-07-30T18:26:50.695Z
Published by rich_harris
How to Learn https://www.npmjs.com/package/magic-string/tutorial