/os-locale

Get the system locale

Primary LanguageJavaScriptMIT LicenseMIT

os-locale Build Status

Get the system locale

Useful for localizing your module or app.

Install

$ npm install --save os-locale

Usage

var osLocale = require('os-locale');

osLocale(function (err, locale) {
	console.log(locale);
	//=> 'en_US'
});

License

MIT © Sindre Sorhus