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
$ 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
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall os-locale
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 |