How to Install prismjs NPM Packages on Ubuntu / Debian

How to Install prismjs software package in NPM Packages

prismjs : Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.. You can installing prismjs 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 prismjs
$ sudo npm install -g prismjs

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

$ sudo npm update prismjs

Update package globally,

$ npm install -g prismjs

Git clone:

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

prismjs@1.8.4 /usr/lib/node_modules/prismjs

How to remove prismjs package :

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

$ sudo npm uninstall prismjs

Basic Information of prismjs NPM Package:

Package Name prismjs
Version 1.8.4
Description Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.
Released Date 2017-11-05T16:39:11.337Z
Published by leaverou
How to Learn https://www.npmjs.com/package/prismjs/tutorial