lcid
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Last updated 2 months ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install lcid 
SYNC missed versions from official npm registry.

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 lcid

Usage

import lcid from 'lcid';

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

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

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

Current Tags

  • 5.1.0                                ...           latest (2 months ago)

9 Versions

  • 5.1.0                                ...           2 months ago
  • 5.0.0                                ...           3 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.1.1                                ...           7 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 18
Today 0
This Week 4
This Month 15
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE