Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.119.110.206
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-musonza /
node_modules /
os-locale /
Delete
Unzip
Name
Size
Permission
Date
Action
index.js
2.56
KB
-rw-r--r--
2015-09-08 06:02
license
1.09
KB
-rw-r--r--
2014-04-06 15:43
package.json
1.6
KB
-rw-r--r--
2021-02-04 21:24
readme.md
1
KB
-rw-r--r--
2015-09-08 06:02
Save
Rename
# os-locale [](https://travis-ci.org/sindresorhus/os-locale) > Get the system [locale](http://en.wikipedia.org/wiki/Locale) Useful for localizing your module or app. POSIX systems: The returned locale refers to the [`LC_MESSAGE`](http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html#Locale-Categories) category, suitable for selecting the language used in the user interface for message translation. ## Install ``` $ npm install --save os-locale ``` ## Usage ```js var osLocale = require('os-locale'); osLocale(function (err, locale) { console.log(locale); //=> 'en_US' }); ``` ## API ### osLocale([options], callback(error, locale)) ### osLocale.sync([options]) Returns the locale. #### options.spawn Type: `boolean` Default: `true` Set to `false` to avoid spawning subprocesses and instead only resolve the locale from environment variables. ## License MIT © [Sindre Sorhus](http://sindresorhus.com)