Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
T
topic1-63
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Kriengkrai Yothee
  • topic1-63
  • Repository

Switch branch/tag
  • topic1-63
  • 2-Sep-2020
  • bbvdbkmonrn.angular
  • node_modules
  • lcid
History Find file
  • Source code
  • Download zip
  • Download tar.gz
  • Download tar.bz2
  • Download tar
  • Kriengkrai Yothee's avatar
    Connected Dockerdb mongodb · 2cdbd6c3
    Kriengkrai Yothee authored 4 years ago
    2cdbd6c3
Name
Last commit
Last update
..
index.js Connected Dockerdb mongodb 4 years ago
lcid.json Connected Dockerdb mongodb 4 years ago
license Connected Dockerdb mongodb 4 years ago
package.json Connected Dockerdb mongodb 4 years ago
readme.md Connected Dockerdb mongodb 4 years ago
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 lcid

Usage

const lcid = require('lcid');

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

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

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

License

MIT :copyright: Sindre Sorhus