{"_id":"iso639-codes","_rev":"4-0b19d3bb54e1c05eb9181f0fddec2cb9","name":"iso639-codes","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"iso639-codes","version":"1.0.0","keywords":["code-locality","codes","i18n","iso","iso639","iso639-1","iso639-2","json","languages","locale","locales"],"author":{"url":"https://TiagoDanin.github.io","name":"Tiago Danin","email":"TiagoDanin@outlook.com"},"license":"MIT","_id":"iso639-codes@1.0.0","maintainers":[{"name":"tiagodanin","email":"TiagoDanin@outlook.com"}],"homepage":"https://TiagoDanin.github.io/ISO639-Codes","bugs":{"url":"https://github.com/TiagoDanin/ISO639-Codes/issues"},"dist":{"shasum":"446ab89aceeaa41693316f0ed6a7520de6fb19d7","tarball":"https://registry.npmjs.org/iso639-codes/-/iso639-codes-1.0.0.tgz","fileCount":4,"integrity":"sha512-i2Z4pJICaNNm+rOQyy1tPAEgADnMJdtFujcsYVrA49zBoT8LFwbrPMTYDEgSuSOlUrUUlNxxnuE0cyLiF8nGvQ==","signatures":[{"sig":"MEUCIQCWf07HTlZRPVRu5s8hhMT6Eu/k2/IAuYHnD6DsYk7X1AIgfLHkgvkIcgtYxlaKguhxcUf+HKsG8LUAm9ypYB7twC8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxd2GCRA9TVsSAnZWagAAKiUQAIGbdgBjrEA+b8Dg0WlB\n3j2Sgh6etF1XVqXl4uEdijBjh+9C7aenrHuoP85scYHpg0kvcx6A8qrtoywm\nq24SFydMj1uSV+1bI11uFTNt+b5MFL7bfQgSsRapmVkMJOYtfmB4ZxeVZOyz\n9oqhI33Qn0dxKGlSvc46zVmj5FIbnbpPP6CaEbySdDPagmB7pme3HeWrj6rY\nt4CeG3Z9QNKtHZFZzUcVebPhnR0E+SVu3mKqfc9x/IGzs14udXN99bQDOLs3\nwcJ1ffXkTPeNm0U1/g68yrEU3pAbHY+EK4DhZswd6sRc6F3D1F/SML8IUKXR\n2Cv8HqSP/7HDqFB6+a0rTxUw5lGYtDvdOrW5qUDXa2KofYt9W9XjFuxirh1C\ns8snjSlDPTMpFjjBJCwbYDDlMvFFGmlYUhGR2IsEJ7/O31ajqtNlA1mm48oe\n3se+7UcDqH1xXhEPNchrWMMG5DZhWR5fbVHcuOpIvC7vbDDj7vV1oZC7xLgS\nqS8m3Kj1BImzh+XTrT9iy9t4zFL3gtx29SLBGmE3ZUcoO1wi1vp+ijEU9Ca3\nNGgGq/3UepTXTcfvvI2Bs3t90in556Ci+mWu2c2m0R2xWqh2qqUHc3L+FooS\nWncu0/uP3nPDDp4ky2HevsmWPcg0cgE92W6X+ke5GtPr22h44i5MAxfPJ0n0\ntenH\r\n=FETR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.json","github":{"name":"ISO639-Codes","owner":"TiagoDanin"},"engines":{"node":">=8"},"gitHead":"84f7c4fd29dd7f028dd8008f6a9db4369adf8327","private":false,"scripts":{"test":"node test.js","start":"node index.js"},"_npmUser":{"name":"tiagodanin","email":"TiagoDanin@outlook.com"},"repository":{"url":"git+https://github.com/TiagoDanin/ISO639-Codes.git","type":"git"},"_npmVersion":"6.9.0","description":"ISO639 Codes for JavaScript","directories":{},"_nodeVersion":"9.9.0","dependencies":{},"preferGlobal":false,"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/iso639-codes_1.0.0_1556471173690_0.4445534127145807","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"iso639-codes","version":"1.0.1","keywords":["code-locality","codes","i18n","iso","iso639","iso639-1","iso639-2","json","languages","locale","locales"],"author":{"url":"https://TiagoDanin.github.io","name":"Tiago Danin","email":"TiagoDanin@outlook.com"},"license":"MIT","_id":"iso639-codes@1.0.1","maintainers":[{"name":"tiagodanin","email":"TiagoDanin@outlook.com"}],"homepage":"https://TiagoDanin.github.io/ISO639-Codes","bugs":{"url":"https://github.com/TiagoDanin/ISO639-Codes/issues"},"dist":{"shasum":"674a45cdabbfdf3719b8b971b93ca1eedbbb4a1d","tarball":"https://registry.npmjs.org/iso639-codes/-/iso639-codes-1.0.1.tgz","fileCount":4,"integrity":"sha512-jdTSv8yn6D7GODDrRtuWG7y3du3aoa+ki5H8h/Y48/NleNAd7Fw/M2niTTLXGH4QnqhJ98hg1JMQtP9csQ31Lg==","signatures":[{"sig":"MEYCIQCuQeaF73R59oX7ZoFQkvS1l+dfFgPmNiMTSIv6+9a+3AIhAMo79Cu+eVmuGvgDwGDDQv9fHuksCpoZ1DtTFbNxaRts","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxd3pCRA9TVsSAnZWagAAHeIP/3DqzmmI6JNQ3IPKpeBn\nPtFceXsjFZmsJc+t39ronRoDTa7MzAvPv1f5ApugTBT+1HGN0mOkvhz8Kc+e\nCQpSCgXsSqZe9upB1ioGQVX/fjuYPsW/vcsEGfElKtsmh/nEAsJPxJOFo9ie\nlxpPeyIO6ZvQBbdVvhDwcDbsrRGoKGmPTfDkEwVOTQAGUBKNtRpD00WEz+PW\n7/m9nBo8I9/7kz26UggcW0jkB5wkCAwtuzywPv5oMhmfMRbMQnCVuzh+AsZr\nTYlvMCvN/3yOIvLVfuUWru9bWWQm6Ad9iLJmyvCEG+mzhnUEHNztjTf0ku39\nLJnNfu2o23UXEe5H2+0LdtDfBiDiPG/m54LT2VOxGlAoqYrhjWkNzgbaNvQc\ndOhNn1ovHXRzO/aS2074ldBAnj3Fc2sh/7Td4mvl0PlkgOwEOjRHPavt3Ksc\nEA84/zyvW4r8VNAJhDBXKQZaNxhM2pqX3/UH2bDJAUm9dDxYoPR+IjxZAIS2\n9o73JCGNzeHuXJ29nKS1hXNtuLNFKq5qhOJ7AOwbLp+TfteBSsZuh66lCoH8\n/5dCWxygbwrfEPN5hBRygH/PCjsLCVXR9tBPUfjBLet605h7Z8YXyQKnt1g4\nIVPvJn9nBDZQA5le1JUjo0LW8LuQaewJqkwnkzriwJ7UGybOTehKH1c5hKga\nS+1P\r\n=zOb3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.json","github":{"name":"ISO639-Codes","owner":"TiagoDanin"},"engines":{"node":">=8"},"gitHead":"9ebb50be342ae8c5868aa0baf6657a2132b75a5d","private":false,"scripts":{"test":"node test.js","start":"node index.js"},"_npmUser":{"name":"tiagodanin","email":"TiagoDanin@outlook.com"},"repository":{"url":"git+https://github.com/TiagoDanin/ISO639-Codes.git","type":"git"},"_npmVersion":"6.9.0","description":"ISO639 Codes for JavaScript","directories":{},"_nodeVersion":"9.9.0","dependencies":{},"preferGlobal":false,"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/iso639-codes_1.0.1_1556471272770_0.1628084193417645","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"iso639-codes","main":"index.json","types":"index.d.ts","exports":{".":{"import":{"types":"./index.d.mts","default":"./index.mjs"},"require":{"types":"./index.d.ts","default":"./index.json"}},"./index.json":"./index.json","./package.json":"./package.json"},"preferGlobal":false,"version":"2.0.0","description":"ISO639 Codes for JavaScript","author":{"name":"Tiago Danin","email":"TiagoDanin@outlook.com","url":"https://TiagoDanin.github.io"},"license":"MIT","keywords":["code-locality","codes","i18n","iso","iso639","iso639-1","iso639-2","json","languages","locale","locales"],"scripts":{"build":"npm run build:types && npm run build:esm","build:types":"node scripts/build-types.js","build:esm":"node scripts/build-esm.js","lint":"standard","test":"npm run lint && node test.js"},"engines":{"node":">=18"},"private":false,"repository":{"type":"git","url":"git+https://github.com/TiagoDanin/ISO639-Codes.git"},"homepage":"https://TiagoDanin.github.io/ISO639-Codes","bugs":{"url":"https://github.com/TiagoDanin/ISO639-Codes/issues"},"github":{"name":"ISO639-Codes","owner":"TiagoDanin"},"standard":{"ignore":["index.mjs"]},"dependencies":{},"devDependencies":{"standard":"^17.1.2"},"gitHead":"9ecd1ee618d69e8748908acd75f20b9a5b24ab35","_id":"iso639-codes@2.0.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-ODjAJDeWC7Bph3PIN8+BADVCVjVzIZO45zCjW60chzED8fcs/h0pF3ymAyrvu17m4uF8N5fa6HfVlQlD3P6ujg==","shasum":"13cc361901c144c4efb01d91adb089ad02a8a168","tarball":"https://registry.npmjs.org/iso639-codes/-/iso639-codes-2.0.0.tgz","fileCount":7,"unpackedSize":145535,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCd5SzOBG6lA85aBtQzRpXIgo3VFT/NRa3FWKeeRYcrHQIhAJtpK8WOUwu3mtOeX/6i4kYfy8Jid9lPMJnnnHkIzdWU"}]},"_npmUser":{"name":"tiagodanin","email":"TiagoDanin@outlook.com"},"directories":{},"maintainers":[{"name":"tiagodanin","email":"TiagoDanin@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/iso639-codes_2.0.0_1788715002208_0.01843415794162029"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-28T17:06:13.689Z","modified":"2026-09-06T17:16:42.483Z","1.0.0":"2019-04-28T17:06:13.852Z","1.0.1":"2019-04-28T17:07:53.021Z","2.0.0":"2026-09-06T17:16:42.340Z"},"bugs":{"url":"https://github.com/TiagoDanin/ISO639-Codes/issues"},"author":{"name":"Tiago Danin","email":"TiagoDanin@outlook.com","url":"https://TiagoDanin.github.io"},"license":"MIT","homepage":"https://TiagoDanin.github.io/ISO639-Codes","keywords":["code-locality","codes","i18n","iso","iso639","iso639-1","iso639-2","json","languages","locale","locales"],"repository":{"type":"git","url":"git+https://github.com/TiagoDanin/ISO639-Codes.git"},"description":"ISO639 Codes for JavaScript","maintainers":[{"name":"tiagodanin","email":"TiagoDanin@outlook.com"}],"readme":"# ISO639 Codes\n\n[![Node](https://img.shields.io/node/v/iso639-codes.svg?style=flat-square)](https://npmjs.org/package/iso639-codes) [![Version](https://img.shields.io/npm/v/iso639-codes.svg?style=flat-square)](https://npmjs.org/package/iso639-codes) [![Downloads](https://img.shields.io/npm/dt/iso639-codes.svg?style=flat-square)](https://npmjs.org/package/iso639-codes)\n\nISO639 Codes for JavaScript\n\n## Installation\n\nModule available through the [npm registry](https://www.npmjs.com/). It can be installed using the  [`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) or [`yarn`](https://yarnpkg.com/en/) command line tools.\n\n```sh\n# NPM\nnpm install iso639-codes --save\n# Or Using Yarn\nyarn add iso639-codes\n```\n\n## Example\n\n```js\nimport iso from 'iso639-codes'\n\niso['Portuguese'].name //'Portuguese'\niso['Portuguese'].names //['Portuguese']\niso['Portuguese']['iso639-2'] // 'por'\niso['Portuguese']['iso639-1'] // 'pt'\n\niso['Balinese']['iso639-2'] // 'ban'\niso['Balinese']['iso639-1'] // null\n\niso['Chichewa'].name // 'Chichewa'\niso['Chichewa'].names // ['Chichewa', 'Chewa', 'Nyanja']\n```\n\n> **CommonJS is still supported.** `const iso = require('iso639-codes')` keeps\n> working and returns the same data.\n\nTypeScript types ship with the package, including the union of every available language key:\n\n```ts\nimport iso from 'iso639-codes'\nimport type { Iso639Code, Iso639Key } from 'iso639-codes'\n\nconst key: Iso639Key = 'Portuguese' // 'Klingonese' would not compile\nconst code: Iso639Code = iso[key]\n```\n\n## Documentation\n\n### `iso639`\nList of Languages\n\n### `iso639[language]`\nGet ISO information\n\n- name (String)\n- names (Array)\n- iso639-2 (String)\n- iso639-1 (String || null)\n\n### Source\n**NOTE:** Source is [www.loc.gov/standards/iso639-2/php/English_list.php](https://www.loc.gov/standards/iso639-2/php/English_list.php)\n\n`index.json` is produced by `parser.js`, which is pasted in the browser console of the page above. `index.mjs` and `index.d.ts` are generated from `index.json`:\n\n```sh\nnpm run build\n# Or one at a time\nnpm run build:esm\nnpm run build:types\n```\n\n## Tests\n\nTo run the test suite, first install the dependencies, then run `test`:\n\n```sh\n# NPM\nnpm test\n# Or Using Yarn\nyarn test\n```\n\n## Dependencies\n\nNone\n\n## Contributors\n\nPull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/ISO639-Codes/issues). [List of all contributors](https://github.com/TiagoDanin/ISO639-Codes/graphs/contributors).\n\n## License\n\n[MIT](LICENSE) © [Tiago Danin](https://TiagoDanin.github.io)","readmeFilename":"README.md"}