How to Install acorn NPM Packages on Ubuntu / Debian

How to Install acorn software package in NPM Packages

acorn : ECMAScript parser. You can installing acorn 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 acorn
$ sudo npm install -g acorn

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

$ sudo npm update acorn

Update package globally,

$ npm install -g acorn

Git clone:

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

acorn@5.2.1 /usr/lib/node_modules/acorn

How to remove acorn package :

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

$ sudo npm uninstall acorn

Basic Information of acorn NPM Package:

Package Name acorn
Version 5.2.1
Description ECMAScript parser
Released Date 2017-10-29T16:38:01.323Z
Published by marijn
How to Learn https://www.npmjs.com/package/acorn/tutorial