lcid

WebJar for lcid

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

lcid
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

lcid
WebJar for lcid
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/lcid

Download lcid

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/lcid/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>lcid</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/lcid/
implementation 'org.webjars.npm:lcid:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/lcid/
implementation ("org.webjars.npm:lcid:2.0.0")
'org.webjars.npm:lcid:jar:2.0.0'
<dependency org="org.webjars.npm" name="lcid" rev="2.0.0">
  <artifact name="lcid" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='lcid', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "lcid" % "2.0.0"
[org.webjars.npm/lcid "2.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : invert-kv jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

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, …}

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
2.0.0
1.0.0