{"name":"language-subtag-registry","version":"0.3.22","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"},"gitHead":"6d06daf44528a6d9d18baba0e4c61fb38607f1ff","bugs":{"url":"https://github.com/mattcg/language-subtag-registry/issues"},"_id":"language-subtag-registry@0.3.22","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==","shasum":"2e1500861b2e457eba7e7ae86877cbd08fa1fd1d","tarball":"http://registry-npm.ywwl.com/language-subtag-registry/download/language-subtag-registry-0.3.22.tgz","fileCount":16,"unpackedSize":1534340,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxiwfcWOEXss2UDf8mCdEMqbb//TtIgRP+yPYih7gAQAiEA6q2sidHgUKxwzM2v6Vch1Dms/3uzLjTsDzq+HHm2Yk0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixCSUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2rQ/9GJpncEjAIgvOuCXRZIKbnr1fgsmPg8Ht0xsSdfFaQuj1seFk\r\neOoxrwFUA/lIMgygr4Xyh0UjLKsJAXMPJA4iBd1VeA8MkbmGZ2AectzZk+Ce\r\nVswfGNiH8MXmMmT3xtYJWvqmy6YJCWEANWyWxS9lirTV1O+FpNEVvqcLBKN1\r\nRH+VGDdXZCifgzdKQRgCPDkzamG+C+s4Oeq0+D3nrPY+hHZvG1ffsCISOG+c\r\nBCKJyAA1M2astakrODxylNZvMa2+rmtQiawfMCizCGRfhgcgd7d8y8Ro/gOq\r\nJt2MBADHlP/ZT7qZaU1s18L5B2frfqc1C15eo7lB5s1g8bmszdm1iJRhZ1tQ\r\nkGkSGeJwRxZUJn9Pe8YsaHFh2Kht/fwizrF4DFyf8rU/TN1XCk4cB5mTRlrp\r\n5elWTRHEMOxk0qGnQe1W0yPbfcPzqUVXkPeXEvK1ESpq2Z4SIMK2mdrf7fhx\r\niKcbQ4z2td8DhGIZ7N/AyNyjIn0kQZYAIjKhRFM9vXNu7SHla3FcWu7CXl7D\r\nX4u7fToNLpmTjMQGkki5Cq7JSw2zpBMWGdhn3VOKPlLQV0/n6vxhjR2a9p4k\r\nY/cqikcLtqcnXx9HPJKAhRHTBcjr88oXqM0JuALPBm69/Cic/URwD2ODbUWt\r\n2XG2bLTF0sk/DUZMhub25C+MqfO8y5QRpMM=\r\n=D0tr\r\n-----END PGP SIGNATURE-----\r\n","size":197108,"noattachment":false,"key":"/language-subtag-registry/-/language-subtag-registry-0.3.22.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.22_1657021588716_0.01074018556618861"},"_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":1657021588908,"_cnpm_publish_time":1657021588908,"dist-tags":{"latest":"0.4.2"}}