@cjser/lcid
v5.0.0-cjser.2
Published
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Downloads
20
Maintainers
Readme
lcid
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
The mapping itself is just a JSON file and can be used anywhere.
Install
npm install lcidUsage
import lcid from 'lcid';
lcid.from(1044);
//=> 'nb_NO'
lcid.to('nb_NO');
//=> 1044
lcid.all;
//=> {'af_ZA': 1078, …}cjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/lcid
