{"name":"language-subtag-registry","version":"0.2.0","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.2.0","dist":{"shasum":"922f29e04d8b4ccac716e789509a3aad0bef8556","tarball":"http://registry-npm.ywwl.com/language-subtag-registry/download/language-subtag-registry-0.2.0.tgz","integrity":"sha512-9dHUuxi3kXlGR1bK8fQ4rPD+4PbT9S4528zpwgohbmS3DrhIAFUKJ8z+zjydkem4vW8lAi33CLDc071lDJQ/JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDr36OXgAOQVKLSxk2LWnZ/MP2nsCElr42AEK3KxOK5uAiEAqVifWVLKhmH71TB++cWib/Bt7mr8k10ssTrmS3WyQYE="}],"size":194813,"noattachment":false,"key":"/language-subtag-registry/-/language-subtag-registry-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.11","_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":1381022387555,"_cnpm_publish_time":1381022387555,"dist-tags":{"latest":"0.4.2"}}