How to Install photoswipe NPM Packages on Ubuntu / Debian

How to Install photoswipe software package in NPM Packages

photoswipe : JavaScript gallery. You can installing photoswipe 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 photoswipe
$ sudo npm install -g photoswipe

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

$ sudo npm update photoswipe

Update package globally,

$ npm install -g photoswipe

Git clone:

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

photoswipe@4.1.2 /usr/lib/node_modules/photoswipe

How to remove photoswipe package :

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

$ sudo npm uninstall photoswipe

Basic Information of photoswipe NPM Package:

Package Name photoswipe
Version 4.1.2
Description JavaScript gallery
Released Date 2017-04-20T21:31:14.356Z
Published by dimsemenov
How to Learn https://www.npmjs.com/package/photoswipe/tutorial