How to Install lru NPM Packages on Ubuntu / Debian

How to Install lru software package in NPM Packages

lru : A simple O(1) LRU cache. You can installing lru 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 lru
$ sudo npm install -g lru

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

$ sudo npm update lru

Update package globally,

$ npm install -g lru

Git clone:

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

lru@3.1.0 /usr/lib/node_modules/lru

How to remove lru package :

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

$ sudo npm uninstall lru

Basic Information of lru NPM Package:

Package Name lru
Version 3.1.0
Description A simple O(1) LRU cache
Released Date 2016-07-07T00:29:59.169Z
Published by mafintosh
How to Learn https://www.npmjs.com/package/lru/tutorial