项目原始demo,不改动
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Pode ver ficheiros e cloná-lo, mas não pode fazer envios ou lançar questões ou pedidos de integração.
 
 
 
 
xzx 2ec7739298 [Version] V.3.8 há 4 anos
..
index.js [Version] V.3.8 há 4 anos
lcid.json [Version] V.3.8 há 4 anos
license [Version] V.3.8 há 4 anos
package.json [Version] V.3.8 há 4 anos
readme.md [Version] V.3.8 há 4 anos

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