{"name":"language-subtag-registry","version":"0.3.15","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"],"gitHead":"53a04435d195cfd209ccf50eb51fc21bd2d42175","bugs":{"url":"https://github.com/mattcg/language-subtag-registry/issues"},"_id":"language-subtag-registry@0.3.15","_shasum":"15d1ce69a0e9f84efd91554be7261619b309f99b","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.0","_npmUser":{"name":"mcg","email":"m@m.cg"},"maintainers":[{"name":"mcg","email":"m@m.cg"}],"dist":{"shasum":"15d1ce69a0e9f84efd91554be7261619b309f99b","tarball":"http://registry-npm.ywwl.com/language-subtag-registry/download/language-subtag-registry-0.3.15.tgz","integrity":"sha512-iui11H7B5T+cXXGmj9BPELYZqU1hIHTVaOft3TLeDz6BA0gTONr6kMos43IQ20qN+cpd1baGbylebo+fttLmSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD97BFVk4blgbAZVkk/T9KI8Xq4VdV5Dj1nspR+zPNeFAIhAOJDRA2ZfHFi7WZKdQGeE4JSQIK78W3ugg6dqX4rCqR3"}],"size":198869,"noattachment":false,"key":"/language-subtag-registry/-/language-subtag-registry-0.3.15.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/language-subtag-registry-0.3.15.tgz_1468852530593_0.6249450570903718"},"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":1468852531828,"_cnpm_publish_time":1468852531828,"dist-tags":{"latest":"0.4.2"}}