How to Install pegjs NPM Packages on Ubuntu / Debian

How to Install pegjs software package in NPM Packages

pegjs : Parser generator for JavaScript. You can installing pegjs 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 pegjs
$ sudo npm install -g pegjs

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

$ sudo npm update pegjs

Update package globally,

$ npm install -g pegjs

Git clone:

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

pegjs@0.10.0 /usr/lib/node_modules/pegjs

How to remove pegjs package :

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

$ sudo npm uninstall pegjs

Basic Information of pegjs NPM Package:

Package Name pegjs
Version 0.10.0
Description Parser generator for JavaScript
Released Date 2016-08-19T07:16:34.480Z
Published by dmajda
How to Learn https://www.npmjs.com/package/pegjs/tutorial