admin_vue/11-前端模块化开发Webpack(Node.js基础)/04-webpack_Loader使用/node_modules/lcid
3056762376@qq.com 37ffd941b0 changes 2022-11-20 18:09:09 +08:00
..
index.js changes 2022-11-20 18:09:09 +08:00
lcid.json changes 2022-11-20 18:09:09 +08:00
license changes 2022-11-20 18:09:09 +08:00
package.json changes 2022-11-20 18:09:09 +08:00
readme.md changes 2022-11-20 18:09:09 +08:00

readme.md

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