How to Install pdfjs-dist NPM Packages on Ubuntu / Debian

How to Install pdfjs-dist software package in NPM Packages

pdfjs-dist : Generic build of Mozillas PDF.js library.. You can installing pdfjs-dist 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 pdfjs-dist
$ sudo npm install -g pdfjs-dist

If want to update the pdfjs-dist package execute the command as below,

$ sudo npm update pdfjs-dist

Update package globally,

$ npm install -g pdfjs-dist

Git clone:

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

pdfjs-dist@2.0.157 /usr/lib/node_modules/pdfjs-dist

How to remove pdfjs-dist package :

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

$ sudo npm uninstall pdfjs-dist

Basic Information of pdfjs-dist NPM Package:

Package Name pdfjs-dist
Version 2.0.157
Description Generic build of Mozillas PDF.js library.
Released Date 2017-11-24T22:59:38.310Z
Published by pdfjsbot
How to Learn https://www.npmjs.com/package/pdfjs-dist/tutorial