{"name":"language-subtag-registry","version":"0.3.17","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":"bd01e919fa2bf1c63ea57702b59e04fd2864304f","bugs":{"url":"https://github.com/mattcg/language-subtag-registry/issues"},"_id":"language-subtag-registry@0.3.17","_shasum":"e26a7fbff40aa37394e7cbe37034a49002961360","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"mcg","email":"m@m.cg"},"maintainers":[{"name":"mcg","email":"m@m.cg"}],"dist":{"shasum":"e26a7fbff40aa37394e7cbe37034a49002961360","tarball":"http://registry-npm.ywwl.com/language-subtag-registry/download/language-subtag-registry-0.3.17.tgz","integrity":"sha512-v6x9goY3wtpDgt5N1LLD4Mo7Ca1FsTgN18HsO6A7LoP0gBXfPEWj8yM7wKUuyRisiSai+jZ/9bfNAeJBPZ5CRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF47weVbvUzDnkZGGVz1Cr4GUwBE+p/G8W5zjsJBEqLQAiEA46ukumu2veE67PGWFBDkYwviekjNMyscbEIwpMzbFos="}],"size":198894,"noattachment":false,"key":"/language-subtag-registry/-/language-subtag-registry-0.3.17.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/language-subtag-registry-0.3.17.tgz_1479484505795_0.9598471925128251"},"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":1479484508199,"_cnpm_publish_time":1479484508199,"dist-tags":{"latest":"0.4.2"}}