111 lines
3.2 KiB
JSON
111 lines
3.2 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "lcid@^1.0.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "lcid",
|
||
|
"name": "lcid",
|
||
|
"rawSpec": "^1.0.0",
|
||
|
"spec": ">=1.0.0 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/os-locale"
|
||
|
]
|
||
|
],
|
||
|
"_from": "lcid@>=1.0.0 <2.0.0",
|
||
|
"_id": "lcid@1.0.0",
|
||
|
"_inCache": true,
|
||
|
"_location": "/lcid",
|
||
|
"_nodeVersion": "0.12.0",
|
||
|
"_npmUser": {
|
||
|
"name": "sindresorhus",
|
||
|
"email": "sindresorhus@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "2.5.1",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "lcid@^1.0.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "lcid",
|
||
|
"name": "lcid",
|
||
|
"rawSpec": "^1.0.0",
|
||
|
"spec": ">=1.0.0 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/os-locale"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
|
||
|
"_shasum": "308accafa0bc483a3867b4b6f2b9506251d1b835",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "lcid@^1.0.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/os-locale",
|
||
|
"author": {
|
||
|
"name": "Sindre Sorhus",
|
||
|
"email": "sindresorhus@gmail.com",
|
||
|
"url": "sindresorhus.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/sindresorhus/lcid/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"invert-kv": "^1.0.0"
|
||
|
},
|
||
|
"description": "Mapping between standard locale identifiers and Windows locale identifiers (LCID)",
|
||
|
"devDependencies": {
|
||
|
"ava": "0.0.4"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "308accafa0bc483a3867b4b6f2b9506251d1b835",
|
||
|
"tarball": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.10.0"
|
||
|
},
|
||
|
"files": [
|
||
|
"index.js",
|
||
|
"lcid.json"
|
||
|
],
|
||
|
"gitHead": "96bb3e617f77f5f8ceb78653c77de5a85abb3b1e",
|
||
|
"homepage": "https://github.com/sindresorhus/lcid#readme",
|
||
|
"keywords": [
|
||
|
"lcid",
|
||
|
"locale",
|
||
|
"string",
|
||
|
"str",
|
||
|
"id",
|
||
|
"identifier",
|
||
|
"windows",
|
||
|
"language",
|
||
|
"lang",
|
||
|
"map",
|
||
|
"mapping",
|
||
|
"convert",
|
||
|
"json",
|
||
|
"bcp47",
|
||
|
"ietf",
|
||
|
"tag"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "sindresorhus",
|
||
|
"email": "sindresorhus@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "lcid",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# lcid [![Build Status](https://travis-ci.org/sindresorhus/lcid.svg?branch=master)](https://travis-ci.org/sindresorhus/lcid)\n\n> Mapping between [standard locale identifiers](http://en.wikipedia.org/wiki/Locale) and [Windows locale identifiers (LCID)](http://en.wikipedia.org/wiki/Locale#Specifics_for_Microsoft_platforms)\n\nBased on the [mapping](https://github.com/python/cpython/blob/be2a1a76fa43bb1ea1b3577bb5bdd506a2e90e37/Lib/locale.py#L1395-L1604) used in the Python standard library.\n\nThe mapping itself is just a [JSON file](lcid.json) and can be used wherever.\n\n\n## Install\n\n```\n$ npm install --save lcid\n```\n\n\n## Usage\n\n```js\nvar lcid = require('lcid');\n\nlcid.from(1044);\n//=> 'nb_NO'\n\nlcid.to('nb_NO');\n//=> 1044\n\nlcid.all;\n//=> {'af_ZA': 1078, ...}\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
|
||
|
"readmeFilename": "readme.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/sindresorhus/lcid.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "node test.js"
|
||
|
},
|
||
|
"version": "1.0.0"
|
||
|
}
|