How to Install asciidoctor.js NPM Packages on Ubuntu / Debian

How to Install asciidoctor.js software package in NPM Packages

asciidoctor.js : A JavaScript AsciiDoc processor, cross-compiled from the Ruby-based AsciiDoc implementation, Asciidoctor, using Opal. You can installing asciidoctor.js 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 asciidoctor.js
$ sudo npm install -g asciidoctor.js

If want to update the asciidoctor.js package execute the command as below,

$ sudo npm update asciidoctor.js

Update package globally,

$ npm install -g asciidoctor.js

Git clone:

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

asciidoctor.js@1.5.6-preview.4 /usr/lib/node_modules/asciidoctor.js

How to remove asciidoctor.js package :

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

$ sudo npm uninstall asciidoctor.js

Basic Information of asciidoctor.js NPM Package:

Package Name asciidoctor.js
Version 1.5.6-preview.4
Description A JavaScript AsciiDoc processor, cross-compiled from the Ruby-based AsciiDoc implementation, Asciidoctor, using Opal
Released Date 2017-10-08T11:36:14.366Z
Published by ggrossetie
How to Learn https://www.npmjs.com/package/asciidoctor.js/tutorial