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

How to Install hls.js software package in NPM Packages

hls.js : JavaScript HLS client using MediaSourceExtension. You can installing hls.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 hls.js
$ sudo npm install -g hls.js

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

$ sudo npm update hls.js

Update package globally,

$ npm install -g hls.js

Git clone:

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

hls.js@0.8.7 /usr/lib/node_modules/hls.js

How to remove hls.js package :

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

$ sudo npm uninstall hls.js

Basic Information of hls.js NPM Package:

Package Name hls.js
Version 0.8.7
Description JavaScript HLS client using MediaSourceExtension
Released Date 2017-11-11T18:05:40.469Z
Published by mangui
How to Learn https://www.npmjs.com/package/hls.js/tutorial