How to Install swig-templates NPM Packages on Ubuntu / Debian

How to Install swig-templates software package in NPM Packages

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

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

$ sudo npm update swig-templates

Update package globally,

$ npm install -g swig-templates

Git clone:

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

swig-templates@2.0.2 /usr/lib/node_modules/swig-templates

How to remove swig-templates package :

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

$ sudo npm uninstall swig-templates

Basic Information of swig-templates NPM Package:

Package Name swig-templates
Version 2.0.2
Description A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.
Released Date 2016-09-30T16:38:50.059Z
Published by cdaringe
How to Learn https://www.npmjs.com/package/swig-templates/tutorial