How to Install select2 NPM Packages on Ubuntu / Debian

How to Install select2 software package in NPM Packages

select2 : Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.. You can installing select2 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 select2
$ sudo npm install -g select2

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

$ sudo npm update select2

Update package globally,

$ npm install -g select2

Git clone:

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

select2@4.0.6-rc.1 /usr/lib/node_modules/select2

How to remove select2 package :

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

$ sudo npm uninstall select2

Basic Information of select2 NPM Package:

Package Name select2
Version 4.0.6-rc.1
Description Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
Released Date 2017-11-22T04:58:21.611Z
Published by alexweissman
How to Learn https://www.npmjs.com/package/select2/tutorial