How to Install geoip-lite NPM Packages on Ubuntu / Debian

How to Install geoip-lite software package in NPM Packages

geoip-lite : A light weight native JavaScript implementation of GeoIP API from MaxMind. You can installing geoip-lite 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 geoip-lite
$ sudo npm install -g geoip-lite

If want to update the geoip-lite package execute the command as below,

$ sudo npm update geoip-lite

Update package globally,

$ npm install -g geoip-lite

Git clone:

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

geoip-lite@1.2.1 /usr/lib/node_modules/geoip-lite

How to remove geoip-lite package :

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

$ sudo npm uninstall geoip-lite

Basic Information of geoip-lite NPM Package:

Package Name geoip-lite
Version 1.2.1
Description A light weight native JavaScript implementation of GeoIP API from MaxMind
Released Date 2017-05-04T16:01:13.707Z
Published by bluesmoon
How to Learn https://www.npmjs.com/package/geoip-lite/tutorial