wallet-core/node_modules/nyc/node_modules/lcid
2017-12-10 21:51:33 +01:00
..
index.js add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
lcid.json add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
license add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
package.json upgrade dependencies 2017-12-10 21:51:33 +01:00
readme.md add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00

lcid Build Status

Mapping between standard locale identifiers and Windows locale identifiers (LCID)

Based on the mapping used in the Python standard library.

The mapping itself is just a JSON file and can be used wherever.

Install

$ npm install --save lcid

Usage

var lcid = require('lcid');

lcid.from(1044);
//=> 'nb_NO'

lcid.to('nb_NO');
//=> 1044

lcid.all;
//=> {'af_ZA': 1078, ...}

License

MIT © Sindre Sorhus