{"name":"language-subtag-registry","version":"0.3.2","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://github.com/mattcg/language-subtag-registry.git"},"contributors":[{"name":"Matthew Caruana Galizia","email":"m@m.cg"}],"licenses":[{"type":"ODC-BY","url":"http://opendatacommons.org/licenses/by/1.0/"}],"scripts":{"test":"make test"},"keywords":["iana","bcp47","subtags","rfc5646","language"],"bugs":{"url":"https://github.com/mattcg/language-subtag-registry/issues"},"_id":"language-subtag-registry@0.3.2","dist":{"shasum":"47a855fb255ddd300e240a3a20534270cb3fc0d4","tarball":"http://registry-npm.ywwl.com/language-subtag-registry/download/language-subtag-registry-0.3.2.tgz","integrity":"sha512-5rkdiAtvAU/9lg1BJ4H/DWAzRK1Zdj41LtuiisZ6Sk98pouc4v+TiRVuK0cTYnS9hKbvcNiNXIR43mZpo63XmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyoHV7vFFy7k3DjqWsBbbWm+YTeWG8Dkb19WiKYbWR0wIgH/RshjW4rku1FejORrX/HqwOkC6qgzJ6CeLBB8F/t10="}],"size":195740,"noattachment":false,"key":"/language-subtag-registry/-/language-subtag-registry-0.3.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mcg","email":"m@m.cg"},"maintainers":[{"name":"mcg","email":"m@m.cg"}],"directories":{},"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":1394756693603,"_cnpm_publish_time":1394756693603,"dist-tags":{"latest":"0.4.2"}}