How to Install closest NPM Packages on Ubuntu / Debian

How to Install closest software package in NPM Packages

closest : Find the closest parent that matches a selector.. You can installing closest 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 closest
$ sudo npm install -g closest

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

$ sudo npm update closest

Update package globally,

$ npm install -g closest

Git clone:

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

closest@0.0.1 /usr/lib/node_modules/closest

How to remove closest package :

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

$ sudo npm uninstall closest

Basic Information of closest NPM Package:

Package Name closest
Version 0.0.1
Description Find the closest parent that matches a selector.
Released Date 2013-03-13T17:14:08.915Z
Published by forbeslindesay
How to Learn https://www.npmjs.com/package/closest/tutorial