{"name":"lcid","version":"5.0.0","description":"Mapping between standard locale identifiers and Windows locale identifiers (LCID)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/lcid.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18.20"},"scripts":{"//test":"xo && ava && tsc --noEmit index.d.ts","test":"ava && tsc --noEmit index.d.ts"},"keywords":["lcid","locale","string","id","identifier","windows","language","lang","map","mapping","convert","json","bcp47","ietf","tag"],"dependencies":{"invert-kv":"^4.2.0"},"devDependencies":{"ava":"^6.1.2","tsd":"^0.31.0","xo":"^0.58.0"},"_id":"lcid@5.0.0","gitHead":"c0b37af1ccbb68f1a94cf5e6f7d0f2f55dfea7ff","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/lcid/issues"},"homepage":"https://github.com/sindresorhus/lcid#readme","_nodeVersion":"18.20.2","_npmVersion":"10.6.0","dist":{"integrity":"sha512-i0bOkKz5k41apRs5rzFHp5ukmUtGm+owHXj2LwtEir6xxww96mRH1l5Q1denx44LFm5LVKIjXu8ZseqZv7Oa9g==","shasum":"c7f8922aca0c6da7bc6e3517b6d081377eea435b","tarball":"http://registry-npm.ywwl.com/lcid/download/lcid-5.0.0.tgz","fileCount":6,"unpackedSize":9018,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPdCtlkSCbCHt+yxrWA1Lz2saZSkvwOCRlPs5FSMRmfgIgX0kPtz+WR9zi7fn0AKCAk2UryHDKC7CaMR7x7+Gaz1I="}],"size":3680,"noattachment":false,"key":"/lcid/-/lcid-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lcid_5.0.0_1714481052195_0.002029346312207414"},"_hasShrinkwrap":false,"readme":"# lcid\n\n> Mapping between [standard locale identifiers](https://en.wikipedia.org/wiki/Locale_(computer_software)) and [Windows locale identifiers (LCID)](https://en.wikipedia.org/wiki/Locale#Specifics_for_Microsoft_platforms)\n\nThe mapping itself is just a [JSON file](lcid.json) and can be used anywhere.\n\n## Install\n\n```sh\nnpm install lcid\n```\n\n## Usage\n\n```js\nimport lcid from 'lcid';\n\nlcid.from(1044);\n//=> 'nb_NO'\n\nlcid.to('nb_NO');\n//=> 1044\n\nlcid.all;\n//=> {'af_ZA': 1078, …}\n```\n","publish_time":1714481052335,"_cnpm_publish_time":1714481052335,"dist-tags":{"latest":"5.1.0"}}