How to Install nanoid NPM Packages on Ubuntu / Debian

How to Install nanoid software package in NPM Packages

nanoid : A tiny (179 bytes), secure URL-friendly unique string ID generator. You can installing nanoid 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 nanoid
$ sudo npm install -g nanoid

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

$ sudo npm update nanoid

Update package globally,

$ npm install -g nanoid

Git clone:

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

nanoid@1.0.1 /usr/lib/node_modules/nanoid

How to remove nanoid package :

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

$ sudo npm uninstall nanoid

Basic Information of nanoid NPM Package:

Package Name nanoid
Version 1.0.1
Description A tiny (179 bytes), secure URL-friendly unique string ID generator
Released Date 2017-10-30T15:15:26.359Z
Published by ai
How to Learn https://www.npmjs.com/package/nanoid/tutorial