How to Install better-scroll NPM Packages on Ubuntu / Debian

How to Install better-scroll software package in NPM Packages

better-scroll : inspired by iscroll, and it has a better scroll perfermance. You can installing better-scroll 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 better-scroll
$ sudo npm install -g better-scroll

If want to update the better-scroll package execute the command as below,

$ sudo npm update better-scroll

Update package globally,

$ npm install -g better-scroll

Git clone:

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

better-scroll@1.4.2 /usr/lib/node_modules/better-scroll

How to remove better-scroll package :

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

$ sudo npm uninstall better-scroll

Basic Information of better-scroll NPM Package:

Package Name better-scroll
Version 1.4.2
Description inspired by iscroll, and it has a better scroll perfermance
Released Date 2017-11-16T16:12:45.827Z
Published by ustbhuangyi
How to Learn https://www.npmjs.com/package/better-scroll/tutorial