{"name":"language-subtag-registry","version":"0.3.23","implements":["CommonJS/Modules/1.0"],"description":"Full BCP 47 language subtag data from the official IANA repository, in JSON format with multiple indices.","homepage":"https://github.com/mattcg/language-subtag-registry","repository":{"type":"git","url":"git+https://github.com/mattcg/language-subtag-registry.git"},"contributors":[{"name":"Matthew Caruana Galizia","email":"mattcg@gmail.com"},{"name":"Guillaume Gérard","email":"guillaume.gerard88@gmail.com"}],"license":"CC0-1.0","scripts":{"test":"make test"},"keywords":["iana","bcp47","subtags","rfc5646","language"],"devDependencies":{"jsonlint":"1.x.x"},"_id":"language-subtag-registry@0.3.23","gitHead":"1e7d67e7f9646f47f0766a04b08522f7df59e932","bugs":{"url":"https://github.com/mattcg/language-subtag-registry/issues"},"_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==","shasum":"23529e04d9e3b74679d70142df3fd2eb6ec572e7","tarball":"http://registry-npm.ywwl.com/language-subtag-registry/download/language-subtag-registry-0.3.23.tgz","fileCount":16,"unpackedSize":1544744,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVxb7JrWqZppQ86tYqHCqoNTs+GuXj4a5bPvH4EpD3AAIhAPL1b6IIErcHVJVL5PJocfxuYGbbeY1CFd5pRNfGbHS+"}],"size":198850,"noattachment":false,"key":"/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz"},"_npmUser":{"name":"mcg","email":"mattcg@gmail.com"},"directories":{},"maintainers":[{"name":"mcg","email":"mattcg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/language-subtag-registry_0.3.23_1716278959306_0.018226231104884194"},"_hasShrinkwrap":false,"readme":"# IANA Language Tags #\n\n[![Open Data](https://assets.okfn.org/images/ok_buttons/od_80x15_blue.png)](http://opendefinition.org/)\n\nIANA's [official repository](http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) is in [record-jar](http://www.inter-locale.com/ID/draft-phillips-record-jar-01.html) format and is hard to parse. This project provides neatly organized JSON files representing that data.\n\nSee `data/` for all the JSON files available. The `registry.json` file contains all records in a flat array and `meta.json` contains its metadata. There's a separate JSON file for each 'scope' (e.g. `macrolanguage.json`) and 'type' (e.g. `language.json`). These files contain JSON objects keyed by tag or subtag and with the index integer for the corresponding entry in `registry.json` as a value. This makes lookups fast.\n\n## Updates ##\n\nThis project will be updated as the registry changes. Non-breaking updates will result in the patch version number being bumped.\n\nRun `make update` to force an update from the latest official IANA-hosted version. The registry file format is converted to JSON automatically and the files in `data/` are updated.\n\nIf there are changes, please make a pull request.\n\n## Usage ##\n\nSee [language-tags](https://github.com/mattcg/language-tags) for a Javascript API.\n\n## Credits and collaboration ##\n\nThe JSON database is licensed under the [Creative Commons Zero v1.0 Universal (CC0-1.0)](https://creativecommons.org/publicdomain/zero/1.0/legalcode) license.\n\nComments, feedback and suggestions are welcome. Please feel free to raise an issue or pull request. Enjoy.\n","publish_time":1716278959435,"_cnpm_publish_time":1716278959435,"dist-tags":{"latest":"0.4.2"}}