How to Install espree NPM Packages on Ubuntu / Debian

How to Install espree software package in NPM Packages

espree : An Esprima-compatible JavaScript parser built on Acorn. You can installing espree 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 espree
$ sudo npm install -g espree

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

$ sudo npm update espree

Update package globally,

$ npm install -g espree

Git clone:

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

espree@3.5.2 /usr/lib/node_modules/espree

How to remove espree package :

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

$ sudo npm uninstall espree

Basic Information of espree NPM Package:

Package Name espree
Version 3.5.2
Description An Esprima-compatible JavaScript parser built on Acorn
Released Date 2017-11-10T20:25:53.755Z
Published by eslint
How to Learn https://www.npmjs.com/package/espree/tutorial