How to Install os-locale NPM Packages on Ubuntu / Debian

How to Install os-locale software package in NPM Packages

os-locale : Get the system locale. You can installing os-locale 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 os-locale
$ sudo npm install -g os-locale

If want to update the os-locale package execute the command as below,

$ sudo npm update os-locale

Update package globally,

$ npm install -g os-locale

Git clone:

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

os-locale@2.1.0 /usr/lib/node_modules/os-locale

How to remove os-locale package :

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

$ sudo npm uninstall os-locale

Basic Information of os-locale NPM Package:

Package Name os-locale
Version 2.1.0
Description Get the system locale
Released Date 2017-07-21T19:59:10.218Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/os-locale/tutorial