Socket
Socket
Sign inDemoInstall

lcid

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lcid

Mapping between standard locale identifiers and Windows locale identifiers (LCID)


Version published
Weekly downloads
4.9M
decreased by-9.85%
Maintainers
1
Install size
13.0 kB
Created
Weekly downloads
 

Readme

Source

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 anywhere.

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 © Sindre Sorhus

Keywords

FAQs

Last updated on 30 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc