How to Install swig NPM Packages on Ubuntu / Debian

How to Install swig software package in NPM Packages

swig : A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.. You can installing swig 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 swig
$ sudo npm install -g swig

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

$ sudo npm update swig

Update package globally,

$ npm install -g swig

Git clone:

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

swig@1.4.2 /usr/lib/node_modules/swig

How to remove swig package :

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

$ sudo npm uninstall swig

Basic Information of swig NPM Package:

Package Name swig
Version 1.4.2
Description A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.
Released Date 2014-08-04T19:04:32.009Z
Published by paularmstrong
How to Learn https://www.npmjs.com/package/swig/tutorial