How to Install sortablejs NPM Packages on Ubuntu / Debian

How to Install sortablejs software package in NPM Packages

sortablejs : Minimalist JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery. Supports AngularJS and any CSS library, e.g. Bootstrap.. You can installing sortablejs 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 sortablejs
$ sudo npm install -g sortablejs

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

$ sudo npm update sortablejs

Update package globally,

$ npm install -g sortablejs

Git clone:

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

sortablejs@1.7.0 /usr/lib/node_modules/sortablejs

How to remove sortablejs package :

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

$ sudo npm uninstall sortablejs

Basic Information of sortablejs NPM Package:

Package Name sortablejs
Version 1.7.0
Description Minimalist JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery. Supports AngularJS and any CSS library, e.g. Bootstrap.
Released Date 2017-11-06T11:58:06.020Z
Published by rubaxa
How to Learn https://www.npmjs.com/package/sortablejs/tutorial