{"_id":"bcp-47-normalize","_rev":"12-6c39427e64267983806e1f57bb968e7d","name":"bcp-47-normalize","dist-tags":{"latest":"2.4.0"},"versions":{"1.0.0":{"name":"bcp-47-normalize","version":"1.0.0","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@1.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"rules":{"unicorn/prefer-includes":"off"},"esnext":false,"prettier":true},"nyc":{"lines":100,"branches":100,"functions":100,"check-coverage":true},"dist":{"shasum":"c10e0b418ea0122f4e0a45a6a940624218b70f0e","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-1.0.0.tgz","fileCount":9,"integrity":"sha512-CCitaPXQQX0S1PJnsj6XrzJko+FyBz6lMETdd5UFqR5m2seB/l5Rg7ShcHF8g+PjpXjKSpCXeVIyDeLt7wdlXQ==","signatures":[{"sig":"MEYCIQC3hPa70HT5pPUYZbGPV4Bxi+TngCdN7hn2uSWstqoZswIhAJLscH8SKfj4LKo0lu4fvU+jQaiTsiaO4EWcQE9q+pm0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUsklCRA9TVsSAnZWagAATQkP/2qSgRWu6SN7y1g5BJ6X\nlhM56RlJ1nRcGLOurcP9GRuZ0YdUR1edgeqIT9TcUULRy4s8z9BTrTjkBHyR\nh3cBeYwOEen2eFTTekN6vyBqcOWk71gFSJOfWhTqXnTq6lnhxNfDfZfoMO0E\n/7qjhhuGyN8jyQzF639l/Y2JH7mNIWzPzEWnw+oPe4Euj0+oR4wt6zyFJ3vw\nXO4P9w3nmsDBvzi7p1l1JTXeOqIRNiJ6vRIK8FOMAA4cuECv1WThJNGEmQA/\nZKv0gGvfwGR6ISSq4uPAGZJ5kDK9rEWX7k5XuiI1NSq83D7vH0z5TcPFerUO\nrIqqLneFCyM1cLo0yQsvXzK4istLEz65GuTg6rHutU13IFp2CpS18YeJKltx\n4Fhbncl1FWSJ1nXXQ+gNd76Rqwm9XxEerZf4siqKi2bynq4TWEwHpYNCKOjc\n3sQWnkZh86y/qchTSU07zIsNmyh2kQiUCcYSkVF/3Vrqe0x7URw1BmYSEgi1\n3116YPEykHVkwJaAW8AR3PLz05i7uWD6OUKsrzHvG4Sb7s+ph9TnveGO6WSQ\naCyIZKDKkFuptGuWG4Rt1TTx2gvDYBrsgSm5nxUzt4VVA5G+Ezg+QSX6ejbV\nQV6fPxDX/P/5GvmpgQIt51ZgOKGbzrY+0VfFhS597dhUhPYoKRrtBn5LCta+\ng3SJ\r\n=LJaJ\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"6152d4c12072f3ce4426ea3936b583c936f92d43","scripts":{"test":"npm run format && npm run test-coverage","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"6.13.7","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"_nodeVersion":"13.9.0","dependencies":{"bcp-47":"^1.0.0","bcp-47-match":"^1.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.26.0","nyc":"^15.0.0","tape":"^4.0.0","prettier":"^1.0.0","node-fetch":"^2.0.0","remark-cli":"^7.0.0","unist-util-visit":"^2.0.0","xast-util-from-xml":"^1.0.0","remark-preset-wooorm":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_1.0.0_1582483748501_0.9219596344623702","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"bcp-47-normalize","version":"1.1.0","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@1.1.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"rules":{"unicorn/prefer-set-has":"off","unicorn/prefer-includes":"off","unicorn/prefer-number-properties":"off"},"esnext":false,"prettier":true},"nyc":{"lines":100,"branches":100,"functions":100,"check-coverage":true},"dist":{"shasum":"01490428d33ac6c2b31a8226876b8a84343d6f56","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-1.1.0.tgz","fileCount":9,"integrity":"sha512-fvv/OSdkOAXcFCrZP5CpdVFx3kOchn6flZdBBffc/wOnpKYAX6egXhqXERgVx15r9b4ZHujf+Rj6yNnTEYQm8g==","signatures":[{"sig":"MEYCIQD9oQRBH1ApoAq9yc2qUrnBUKsuNwYowWRGNJdg6p46IwIhAK3ktyM2ebXyGx9mfiAVpVkf6P4/+XQ6bRtBvE7lXr11","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGt2lCRA9TVsSAnZWagAAOW4P/3Ukok/44dCu+r0jXJ0b\nztm9zkyhf5S2mHnW4nSjraS29kCFArSffDXUcnsSoCKo/8SWeYwpFtPyEgo/\nOWPRrCXljsoinVfFTBciyHivSfwCVA7ayN6flVQNA/CT9xxjRWuL91orNfVu\nvNg1+bW7yPA8OQs+75bgzfhyUW/6Hua8xRQcVD2MNmARnrb8LGyU0/Db6bZy\nSAnyK/64n/Fqb+h6Ifz207p8UsP+vMnC3LjafnCZp3tCYbr2nqpx8RW0jBPM\nNCDA7auhTGO2ISnuCjlVuGQpVH/Dj9hvv0fi6N/MkNYbD83GcPEtMz9iuwgx\nbFtuEzXx5TFe2GSPVSOtUTZkltZXPsXeMchdQBDWfteUs6YPexfsgFaMWs52\nlQhZx9eNLXVMdqMj74KBhl+qwiV/zypOEMpUCt2Gi9hGyMBOwtSZoaFFDyad\nRfAZh3CgbP7OgKqQqxQY6QSTwl9lX8AhIE7ONiRnx6a7e9vM0LJpgU0SqPqL\njWz4InbYsB7+vdGkfRCVx5X6kx0PhYEvVoYuAp4xNL1zHupszpo8rDJ9mTai\n2bYNxUHMbAts5rvuiac70xk8FrmPcCPhk3F4Wmnyoear/UlxSNU91jJNxEkP\nJ7qOCRJzeCldzRqEGKtDF7a8t2aJs7Mu5Td9fdQrdb+SwHXOosDFrcwoBGs8\ncsa0\r\n=fCLi\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"66d6a4c102d1395a7636fac7123286a91c8818ae","scripts":{"test":"npm run format && npm run test-coverage","format":"remark . -qfo && prettier --write . && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"6.14.5","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"_nodeVersion":"14.0.0","dependencies":{"bcp-47":"^1.0.0","bcp-47-match":"^1.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.32.0","nyc":"^15.0.0","tape":"^5.0.0","prettier":"^2.0.0","node-fetch":"^2.0.0","remark-cli":"^8.0.0","unist-util-visit":"^2.0.0","xast-util-from-xml":"^1.0.0","remark-preset-wooorm":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_1.1.0_1595596197275_0.0035455680865676964","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"bcp-47-normalize","version":"1.1.1","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@1.1.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"rules":{"unicorn/prefer-set-has":"off","unicorn/prefer-includes":"off","unicorn/explicit-length-check":"off","unicorn/prefer-number-properties":"off"},"esnext":false,"prettier":true},"nyc":{"lines":100,"branches":100,"functions":100,"check-coverage":true},"dist":{"shasum":"d2c76218d132f223c44e4a06a7224be3030f8ec3","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-1.1.1.tgz","fileCount":9,"integrity":"sha512-jWZ1Jdu3cs0EZdfCkS0UE9Gg01PtxnChjEBySeB+Zo6nkqtFfnvtoQQgP1qU1Oo4qgJgxhTI6Sf9y/pZIhPs0A==","signatures":[{"sig":"MEUCIBLV5DieClrQFW8jbptNByAOkCo/0JISAmVQuM4QlAzWAiEAmKp4ogBS6ndrjOe9pmU5rLyZtFURdcQdin3pPu/cKTc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflrXjCRA9TVsSAnZWagAA4PYP/19V8A3jeg86aAuLYetr\nag2vv8zzuzO4CCq/iEomxBW5vdRKdt5mon5VN2DHi93VNdICiD2fxF5XvA7J\n+iWXx0RTqSTfjYQ0dIpzoFQgdL8EKNyg8qrjWGIHUr3LkEPoe9QmnUQzHbeq\nlMlP9Dzr8RFzR8rbUB5327L1LNq4SmlMsDkvwX/GAFQ8sf2UG9kX6oCKe4pm\n4DikhLY3mpd3bmMdvue6AmKHP4mOHPcgxK8+2V1vMvkqhFfi9xsGWVnMGmMZ\n6qN+9eIDITplTjTqGIibNdExISfE2TTOqMZFs/UBkD7mOKVCOqmhiD1txOPi\n1zlvNqB2BEaEBueInSEbNecigzo6XLyv/j1CQzMtg5a4QqXi15DK8ZkXcvQm\nGESNW7GOSEK+T0bFvVLx5BlW/f2nEJ3NwNnrmJEkCdnhOtiyVQ8rwro9MaOn\nt6LUOkFbs7Ps+uj8mLeC0ccfgoMxy0zFizbQYCwZCW+jGAAw4fNPES8GuYS2\nw7kUDsLykU196FVxgcXR8plqonO9CWjDbjRODPnIZ9r2eUBtpZGJ0/weKjLR\n/kZ0rA3Zj784tUeOSYUEo2QRH6UxntI9DTN0KrbcPj3/zHuXonP9YJEAM4CI\ns6UlMkJffoEULW6j0SQdWCnt+DQV7fmvtFtGE3X7HSyVFSAmqrWYU3AnnZvV\naWEg\r\n=lltL\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"25833fd8de27bfe8f71489866585371668b6ed1d","scripts":{"test":"npm run format && npm run test-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"6.14.8","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"_nodeVersion":"14.13.1","dependencies":{"bcp-47":"^1.0.0","bcp-47-match":"^1.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.34.0","nyc":"^15.0.0","tape":"^5.0.0","prettier":"^2.0.0","node-fetch":"^2.0.0","remark-cli":"^9.0.0","unist-util-visit":"^2.0.0","xast-util-from-xml":"^1.0.0","remark-preset-wooorm":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_1.1.1_1603712483151_0.04156322049640848","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"bcp-47-normalize","version":"2.0.0","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@2.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"rules":{"no-var":"off","prefer-arrow-callback":"off"},"prettier":true},"dist":{"shasum":"3d60edcc1c9552237711d165c71cda3365c049d1","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.0.0.tgz","fileCount":15,"integrity":"sha512-ohIxv1QUioSnJu5842V0hCrQIyLgI/NNwhCoMH330HKNVK9GEFhTEaitR8biUzqQ85I/yt593/EgHW1hNOT+rQ==","signatures":[{"sig":"MEYCIQChqw2j86q70JLyzSLZo/zkECMi1SyV2Q+pKhDIPNLkgQIhAMAPZMyv5b9T7iHktLNoNzjCFlW3Ymlc5Qp/i9idm6T5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":147839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgl+KhCRA9TVsSAnZWagAAIPsP/3GTz2PZQYafv1aP4PQZ\naipTBEaEGUjcvKeAyRHey3gA7CCtwUrtXl1ELV1EpvL1KPXi4xMtFGkaZ4f/\nhD34f0/y5AinfFdwYuw1d6apJcxcdpcyILR+iSQwkDHgRFGe/P0WTv+xELci\nbfJFRkG0/p72ypKupuniHglnElh8OGzo/VhEzeGWOk59QChuY5Pg9Y5CDpro\nfgk9wTCTMWt4BZJEHowyl88d2OdYZr3071hsiwtBMtxaF2aPeaN6QSlie+fM\nM6ROTlSoYrc0blnKSoVYkn2E8rj7fBX8VJMN3zTMVu6ixwsJYyhcElcf5+Ak\n9TMW3JIORRaXNrnaVX4NVs7VXuENNL1KkJlcqyzYuQi/AzOGDWYoZmPMd5Hw\nZt2f8x+sL2DOanus5qgTSdaD+rEbC39oOTBzsrSoy1Gy2L6gycwxcsw/BIP1\nbkURNVRJZuKcb3qvOkM5aG24fP8GXRoyxDL4rY1EjwGQi+FyxJQRHibGzZx4\nOZAS8c26X227p0PxXKMUCwjfcx0CTqx3eP7lwepkqOnM3PKnp5v9MlG7gabG\nu0LuyGJx83sZYbHWmeiwmHLFbHg3Vn7mnRbVqpE0W32fEb9kG3xd9ZTf0RS7\nTdnBqQHIzUgQ6rQVTCqa1FH1Yj1tJlwk+hxEtdIGPIMJukDk0rVRP0RHckj1\nC/ch\r\n=HNDF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"a123d799f22745244da48eb70524acaf852f8152","scripts":{"test":"npm run build && npm run format && npm run test-coverage","build":"rimraf \"{lib/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run build && npm run format","generate":"node build","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"7.11.1","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"sideEffects":false,"_nodeVersion":"15.11.0","dependencies":{"bcp-47":"^2.0.0","cldr-core":"^39.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.40.0","tape":"^5.0.0","rimraf":"^3.0.0","prettier":"^2.0.0","node-fetch":"^2.0.0","remark-cli":"^9.0.0","typescript":"^4.0.0","@types/tape":"^4.0.0","@types/xast":"^1.0.0","type-coverage":"^2.0.0","unist-util-visit":"^3.0.0","@types/node-fetch":"^2.0.0","xast-util-from-xml":"^2.0.0","remark-preset-wooorm":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_2.0.0_1620566688800_0.47533590550683424","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"bcp-47-normalize","version":"2.0.1","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@2.0.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"rules":{"no-var":"off","prefer-arrow-callback":"off"},"prettier":true},"dist":{"shasum":"13b06884d096cd2729dbd966a839523b706787a5","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.0.1.tgz","fileCount":15,"integrity":"sha512-5KfiLLDVOqTF8eO0/ByMKO1YqPLDvOH8W3MpKSD5Xc5/4ZDIeOHBf5pMhc29AI1NWybb9+y1ET9zQ5NsMyQE+g==","signatures":[{"sig":"MEUCIGDJsj0wtUlESBxffQc6BjF2OL2wVuX1nSdOb/4z//s0AiEAoYi7i1BDYn3yKYaoAZA+ITpMVAudpJ/5rYdMAkDnC9k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":147839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmCwkCRA9TVsSAnZWagAAyMsQAJM/XwsvkU8it9tB+dlQ\nqKKfJOuhCTWqsRLReG6yktdxq1zUFTx2ZnitwR29GykAUOynXmX5tsnearcR\npwpI4l+WdN1LBR2UrxYMhecDwuZal2T2gShjboEZ/azuHvq4aVdLtq03oj/K\njsT4S3fRXFbXFXIcnP8uXRIPPm+sIXmyEs0/iK6L8FYcOf9kFTHfMvWw+0BI\nKZ29uHxivcxIEr7Ym5409WULrrLzX5SAs8QTAAQlof9G/+8jT4kcQLrQWdr3\nIvp3A7Ce1tPvsNBiMveIDlQScvHof2ksa3jNUm3MLJAdhLAj+Q4MrIM+5l7e\nadbjDfCmNuFYFd2wa6wT6j2obbANRBwtffqNnXG5caSEONnfOxNniGaGf4wp\nnECmkC0CXj90bS66xKXYy1OT3AnXzZrTUuVXH/YLTjFmC4sfrn0UT7CpEuIq\nMwiA9uHO1b5Iim9dxdOUOTs3uiHiM3BdNYCL2qS2K7o5Mz+sN5xlpaIKF3Wx\n8yy9A8K6zuj2pV8a66CmDQ4Dz4ZIHcNUlfqod/vdIJ2Siew/LLzaLELGZtPf\nWDk4g5IoySbzeWym5BjcHxZ+I6fVPlw9orZz3yZ/gE5qOvVNmolxkzY1TSiv\nFjqIIj6SGvz6erbHCAngjUuV3F8dnAe3A1ZTXQNq+a/znUnBbFfJDiChf4Sn\n3Z9W\r\n=Ls2v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"d6bd5e764a25a6f0e9ed51146ef0a7e689a5cd2e","scripts":{"test":"npm run build && npm run format && npm run test-coverage","build":"rimraf \"{lib/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run build && npm run format","generate":"node build","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"7.11.1","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"sideEffects":false,"_nodeVersion":"15.11.0","dependencies":{"bcp-47":"^2.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.40.0","tape":"^5.0.0","rimraf":"^3.0.0","prettier":"^2.0.0","cldr-core":"^39.0.0","node-fetch":"^2.0.0","remark-cli":"^9.0.0","typescript":"^4.0.0","@types/tape":"^4.0.0","@types/xast":"^1.0.0","type-coverage":"^2.0.0","unist-util-visit":"^3.0.0","@types/node-fetch":"^2.0.0","xast-util-from-xml":"^2.0.0","remark-preset-wooorm":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_2.0.1_1620585507629_0.3396528826282508","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"bcp-47-normalize","version":"2.0.2","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@2.0.2","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"prettier":true},"dist":{"shasum":"c888239917918f22cb548f1059b1d3cd3cc265b0","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.0.2.tgz","fileCount":15,"integrity":"sha512-nbReV3gOsXw4Fpc150/bn82lzSA5ha6ReCoK29ThJSAb0AbAEKsbLpKgw1Q9XjIsnTtZZCEla2RiiHy7LjmoTQ==","signatures":[{"sig":"MEYCIQDkWVN2kZ/M8m4BTSAMucqeR2TnHOZxfSteoRH/ej+xlQIhAM7jE44NoBqVT0jZFs6D708QBndmglgQCOlBVHkt16KG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":122714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2kg8CRA9TVsSAnZWagAAYmQP/1Btjn0s+yLV1LXRPqir\nw8YpapgSu5exMmwrQ1ak6StB0I312Ak23vlEHpix1jYe/aegqoIpp0ijkpCn\nd6PwbUdpsb1XajElDOTcJfbvcEpSjf98KszXQAeYqExxbwIIs6rSbGyi9jf4\nYu+HemrH9Xb7z4gVmVXmSguUT9AM6C6QoiV9tkGvqg9F7ce4gCN+UDVB4xeE\n2cy4K1OV3yRHwkBfP34jXL2EfrF3Ch1P+No988SN73K/axDPbZCkjgesa7iD\nMUztYu4vet9aPwwz73fisu3YsSSzwxd+cTuHXgsHJC/6UbPqGLDq2irZ7IP5\noJhi61gOtizuyHUk4dsXNdPd11x1ktjAUwHd2RgIcymxxROueSrFoSkRuvVa\nAn9JIpfZyR82/vZ+tMCVn3n3rxr9fuU10Ca+w4cNQrSWAtkQqxdaxL5YaC19\nvfWl9jZfSADmtXN2CjLozMiaza7WqfiaIs23ZsE7/ktzecKG7tA/KlJDQn8B\ndSj1HaG/jn70JuhnfQiydroohhOYgX2NI1qCCVQ5iy4+tCOQ4yADAhEKAqS3\ndkcngtuzOngH+bAVLDBWG1tct75/AS2QuH2arJoBYsjmC3C4gQohZzYgjIjr\n60dZ4T2VIYT9QaGYB4Qzs1sEjiGwAo6c4/OFbkV50EE2rhWP9kVxz1D9/WiM\n056u\r\n=fYVG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"eb3b2f6f8a6963665c0c982150191344a07381dc","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","generate":"node build.js","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","prepublishOnly":"npm run build && npm run format"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"8.1.0","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"sideEffects":false,"_nodeVersion":"17.0.1","dependencies":{"bcp-47":"^2.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.46.0","tape":"^5.0.0","rimraf":"^3.0.0","prettier":"^2.0.0","cldr-core":"^40.0.0","node-fetch":"^3.0.0","remark-cli":"^10.0.0","typescript":"^4.0.0","@types/tape":"^4.0.0","@types/xast":"^1.0.0","type-coverage":"^2.0.0","unist-util-visit":"^4.0.0","@types/node-fetch":"^3.0.0","xast-util-from-xml":"^2.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_2.0.2_1636369359978_0.03413110374103545","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"bcp-47-normalize","version":"2.1.0","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@2.1.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"prettier":true},"dist":{"shasum":"56541b36e1ea55380ec8db35129fcce51b81c806","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.1.0.tgz","fileCount":15,"integrity":"sha512-wa7PmQUfSSkbH9xRnnv4l77SlR8pbTdGnXeEiUsJ4cUNnxVpvGPwY0UKTg7NVOBrnHa/zQXJhCdEKsC5b3B3oA==","signatures":[{"sig":"MEQCIDqiDkRFTQTv0y5P8FaLGUqfBKMSD0QbhhGTMx9ViehcAiBTB42XrPDML3kM7LSMouXplLo8UsxClNJTZ/Uk99YNEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":122950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVVGvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOCw/+N8vXzaS9LZ/cJ+FmgJDQ5CsecYsVPZ32BWWyGBVAw1WwrqRc\r\nSeOxY1CTy8t0c5Mgd7j6qwcGpwvSncd+wM9gE5XqI1QGWVrNMrbfq7c/oi7i\r\nOwcogqdvVmClvQGp8jWd2945Ws6VkHZeIAnF6MOEjUN5+ijHlDAilaW3I7G4\r\nt/uCQqedtC6mTcHjuNax2tOo/UFzqVFGv9y2LCUrkan4qemtEYoZ5LbTYHDP\r\nQ11XfmwZBgTq757O0h91TQmhvSVKtKiAE0oJ4OlExiBmuK2EwYOEjzLP5Sqn\r\nT5w1fq2kN9lO6WEGV0V3np1/i2xLhSsQpotR22ww0Y27cxLVoEJkajBwlLVb\r\nCzfMJIEElv2ZWt7QYRA/qJs6JP4VKxSVrhtSq4o8ATR5MSwp90/wlpdCC5hU\r\n+Ga7dXID+Ey5Vb9Kxs1QmoEs+SrWghUNvOU1qUUQ8/qtesb94MthEpsvRhnS\r\nVlVh8O9AxaOV4BzFsGdgz1V1MfpJn8ChqVmtLNMgJ6Kj4csoS0UhfLtjwU6d\r\n8cHkn7QHOvccIBkjSuXZFMv2uyw0eYF0RKVGh+SkxdbpfIwz70SWsk6CCBv4\r\ns6TV0VmpgGuPkdITX9P3mfG35D/py+IoKCxocwslcyHJ0pWFLVAwhu0/M2Cm\r\nsJ1H7c7nLLKl82lz8wCHv2eGOuzKZ4kme9I=\r\n=jb4j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"5a6b44547af23db06d1f87e2b2d7cdc87871de71","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","generate":"node build.js","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","prepublishOnly":"npm run build && npm run format"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"8.5.5","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"sideEffects":false,"_nodeVersion":"17.4.0","dependencies":{"bcp-47":"^2.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.48.0","tape":"^5.0.0","rimraf":"^3.0.0","prettier":"^2.0.0","cldr-core":"^41.0.0","node-fetch":"^3.0.0","remark-cli":"^10.0.0","typescript":"^4.0.0","@types/tape":"^4.0.0","@types/xast":"^1.0.0","type-coverage":"^2.0.0","unist-util-visit":"^4.0.0","@types/node-fetch":"^3.0.0","xast-util-from-xml":"^2.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_2.1.0_1649758638954_0.1466285849498392","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"bcp-47-normalize","version":"2.2.0","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@2.2.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"prettier":true},"dist":{"shasum":"acc0c3d377feac5cdc6c2e58a9271f8e0661ab26","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.2.0.tgz","fileCount":15,"integrity":"sha512-P4vGU3F4PoWg8mt6v9zn+R2D5OORlla4GjjJZHUI3e+F9vn8fADBwEXXaat0NgGsEN3plTuKOru8E5Y6ajtyog==","signatures":[{"sig":"MEYCIQD9ez0VNhvIpLwLSBWbXZaF5xB7hUdSwX8PTw954DeyYwIhAKMa4ejjCn8nVQzHCqrxVkC0OAGsQBpgmjCb5c3xIylk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfh5gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquWw//fG/+U0Xw1/XH3kVhTgHbah8s+ltT+FwbT+Brzaw1UeY550/X\r\nx117M3ZYhQaZvpDaJi2YJXSMtRvI+1VxYcc+fHa/v22+CSKC/NevA59YQYKX\r\nqrrn2GalfRidjtPmvvL+jraSe6x/3WDegijrCy98/4PEdfDTNTum4Ao6iK35\r\nl0a4SVJSh0dnwUGq2kOYyGak46Ewpest9iDMcFI/x8mEMFSzqYRGSj+x5iOG\r\ni68WjCVCNHqbDKhyeijMJoE0dVZdrENiTf2ApJYSie0JLLLSF/HOPnEEI33O\r\nbmVRRsfK8ihfuKBCTCiOWnAPEj/8Y+m7WcbNM7dmsnd5rfXz/aGHCsxI/6f0\r\nFVzqqPeDrU6Mlp4APHl8Q0/ahDhzyGMvCVIB4Jhx0K/USZqbwNIzdUyM3qAz\r\ny/ACgEh6njgJBjcg/8gp0SYFwr/+3ubjMZrVgN1HV0yRHgOoZZ8kHLmLql/5\r\n13R+8jH1+sNqCevlSehQMpOQtOa2GyyoSnswyOZXe7NIosDA55zM1JFR7XB7\r\ntU07Hgc4fwCEWsJKbpnl9TVVXV1d8pCt30nGexSa29F8vetuU2qnmq6eHNjC\r\ndtA8/rq1p275GSMaNLmsN82vllGoCjtZU/Zy5irlGfXAFztQAWqy2Pg81hgZ\r\noEBB7yVBKZ28BJKQswlNiMbDq0yNFOzRVLI=\r\n=wVeB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"cc8009b8f9e60c0f1744bc7eca7460cc0c707cb7","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","prepack":"npm run generate && npm run build && npm run format","generate":"node --conditions development build.js","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"8.19.2","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"sideEffects":false,"_nodeVersion":"19.0.0","dependencies":{"bcp-47":"^2.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.0.0","xo":"^0.53.0","prettier":"^2.0.0","cldr-core":"^42.0.0","node-fetch":"^3.0.0","remark-cli":"^11.0.0","typescript":"^4.0.0","@types/node":"^18.0.0","@types/xast":"^1.0.0","type-coverage":"^2.0.0","unist-util-visit":"^4.0.0","@types/node-fetch":"^3.0.0","xast-util-from-xml":"^2.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_2.2.0_1669209696742_0.887054838206452","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"bcp-47-normalize","version":"2.3.0","keywords":["bcp","47","bcp47","bcp-47","language","region","script","tag","subtag","format","pretty","normal","canonical"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"bcp-47-normalize@2.3.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"xo":{"prettier":true},"dist":{"shasum":"00f7de9dfdd0f6901c048083be5ac60903bf4f7a","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.3.0.tgz","fileCount":15,"integrity":"sha512-8I/wfzqQvttUFz7HVJgIZ7+dj3vUaIyIxYXaTRP1YWoSDfzt6TUmxaKZeuXR62qBmYr+nvuWINFRl6pZ5DlN4Q==","signatures":[{"sig":"MEQCIH1B+hlq4TzNGixfHXACuQTwCbQ3jF/yENv2mrYFICpFAiBykyYL2LWZefR72NErZzKEQn8lL/dZ553oocdnmN/6DQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":262067},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"9d544fe50bd229c1179475ba25a0de7b01339dd7","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","prepack":"npm run generate && npm run build && npm run format","generate":"node --conditions development build.js","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"9.7.2","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"sideEffects":false,"_nodeVersion":"20.0.0","dependencies":{"bcp-47":"^2.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"devDependencies":{"c8":"^8.0.0","xo":"^0.55.0","prettier":"^3.0.0","cldr-core":"^43.0.0","node-fetch":"^3.0.0","remark-cli":"^11.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/xast":"^2.0.0","type-coverage":"^2.0.0","unist-util-visit":"^5.0.0","@types/node-fetch":"^3.0.0","xast-util-from-xml":"^3.0.0","remark-preset-wooorm":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bcp-47-normalize_2.3.0_1689612344540_0.41810939864610286","host":"s3://npm-registry-packages"}},"2.4.0":{"_id":"bcp-47-normalize@2.4.0","bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"dist":{"shasum":"3d4a02b9da5bf5ecec3adcdd5e3aaaf03091a711","tarball":"https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-2.4.0.tgz","fileCount":21,"integrity":"sha512-UCY2T1p48jmJpqn1wjypC+ywcvpv5AvCwQyQjM7j2Y8CQVu7tLFQZa6pTxvkz/u6IswjUdptG0ZoOMCPO5wjMQ==","signatures":[{"sig":"MEUCIQDFYNX+1OzX/xy8+1PDarkTMyHYkKXJ/uwZtKH4gUcQOwIgcyuPeU5JOVGZSZCK/pETi7x2gvQK4QidZzedXjSBMCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCrRcnLxwY7FmTw8+xWsxQcNZgSqsAV92n7E7Q/YrLxhgIgEHU4xlazLr6bOkg2y/OWvsw9n2MeXn5egg2Dd35BgHU="}],"unpackedSize":261233},"main":"./index.js","name":"bcp-47-normalize","type":"module","types":"./index.d.ts","author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"funding":{"url":"https://github.com/sponsors/wooorm","type":"github"},"gitHead":"6769408375bc7aed1aa92738ce431109c7c3c7d6","license":"MIT","scripts":{"test":"npm run generate && npm run build && npm run format && npm run test-coverage","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run generate && npm run build && npm run format","generate":"node --conditions development build.js","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api"},"version":"2.4.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"homepage":"https://github.com/wooorm/bcp-47-normalize#readme","keywords":["47","bcp-47","bcp47","bcp","canonical","format","language","normal","pretty","region","script","subtag","tag"],"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"_npmVersion":"12.2.3","description":"Normalize, canonicalize, and format BCP 47 tags","directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.12.1","contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"dependencies":{"bcp-47":"^2.0.0","bcp-47-match":"^2.0.0"},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"strict":true,"atLeast":100},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","xo":"^5.0.0","prettier":"^3.0.0","cldr-core":"^49.0.0","remark-cli":"^12.0.0","typescript":"^6.0.0","@types/node":"^26.0.0","@types/xast":"^2.0.0","type-coverage":"^2.0.0","unist-util-visit":"^5.0.0","xast-util-from-xml":"^4.0.0","remark-preset-wooorm":"^11.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bcp-47-normalize_2.4.0_1795188641879_0.19637958589295357"}}},"time":{"created":"2020-02-23T18:49:08.501Z","modified":"2026-11-20T15:30:42.254Z","1.0.0":"2020-02-23T18:49:08.647Z","1.1.0":"2020-07-24T13:09:57.414Z","1.1.1":"2020-10-26T11:41:23.297Z","2.0.0":"2021-05-09T13:24:48.925Z","2.0.1":"2021-05-09T18:38:27.837Z","2.0.2":"2021-11-08T11:02:40.129Z","2.1.0":"2022-04-12T10:17:19.104Z","2.2.0":"2022-11-23T13:21:36.895Z","2.3.0":"2023-07-17T16:45:44.795Z","2.4.0":"2026-11-20T15:30:42.004Z"},"bugs":{"url":"https://github.com/wooorm/bcp-47-normalize/issues"},"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","homepage":"https://github.com/wooorm/bcp-47-normalize#readme","keywords":["47","bcp-47","bcp47","bcp","canonical","format","language","normal","pretty","region","script","subtag","tag"],"repository":{"url":"git+https://github.com/wooorm/bcp-47-normalize.git","type":"git"},"description":"Normalize, canonicalize, and format BCP 47 tags","contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"readme":"# bcp-47-normalize\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n\nNormalize, canonicalize, and format [BCP 47][ietf-bcp-47] tags.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`Options`](#options)\n  * [`Warning`](#warning)\n  * [`bcp47Normalize(tag[, options])`](#bcp47normalizetag-options)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package takes BCP 47 tags and makes them uniform.\nIt removes unneeded info (`en-us` -> `en`)\nand replaces deprecated,\noverlong,\nand otherwise unpreferred values with preferred values\n(`en-bu` -> `en-MM`).\nIt works by applying\n[Unicode CLDR suggestions][github-cldr-alias].\n\n## When should I use this?\n\nYou can use this package when dealing with user-provided language tags\nand want to normalize and clean them.\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 14.14+),\ninstall with [npm][npmjs-install]:\n\n```sh\nnpm install bcp-47-normalize\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {bcp47Normalize} from 'https://esm.sh/bcp-47-normalize@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {bcp47Normalize} from 'bcp-47-normalize'\n\nconst tags = [\n  'de-de-1901',\n  'en-gb',\n  'en-us',\n  'en-bu',\n  'hy-arevmda',\n  'nld-nl',\n  'no-nyn',\n  'pt-br',\n  'pt-pt',\n  'zh-hans-cn'\n]\n\nfor (const tag of tags) {\n  console.log('%s -> %s', tag, bcp47Normalize(tag))\n}\n```\n\nYields:\n\n```text\nde-de-1901 -> de-1901\nen-gb -> en-GB\nen-us -> en\nen-bu -> en-MM\nhy-arevmda -> hyw\nnld-nl -> nl\nno-nyn -> nn\npt-br -> pt\npt-pt -> pt-PT\nzh-hans-cn -> zh\n```\n\n## API\n\nThis package exports the identifier\n[`bcp47Normalize`][api-bcp-47-normalize].\nThere is no default export.\nIt exports the additional [TypeScript][] types\n[`Options`][api-options] and\n[`Warning`][api-warning].\n\n### `Options`\n\nConfiguration for [`bcp47Normalize`][api-bcp-47-normalize]\n(TypeScript type).\n\n###### Fields\n\n* `forgiving` (`boolean`, default: `false`)\n  — keep what was found before an error,\n  instead of returning an empty string;\n  passed to `bcp-47` as [`options.forgiving`][github-bcp-47-options]\n* `warning` ([`Warning`][api-warning], optional)\n  — called when an error is found;\n  passed to `bcp-47` as [`options.warning`][github-bcp-47-options]\n\n### `Warning`\n\nCalled when an error occurs (TypeScript type).\n\nSame as [`Warning` from `bcp-47`][github-bcp-47-warning],\nwhich lists the codes it uses.\nOne additional warning is given,\nwith code `-1`,\nwhen a deprecated region cannot be fixed automatically\n(because it was split into multiple regions):\n\n| code | reason                                                     |\n| :--- | :--------------------------------------------------------- |\n| -1   | Deprecated region `CURRENT`, expected one of `SUGGESTIONS` |\n\n###### Parameters\n\n* `reason` (`string`)\n  — reason for failure in English\n* `code` (`number`)\n  — code for failure\n* `offset` (`number`)\n  — index of place where the error occurred in the tag\n\n###### Returns\n\nNothing (`undefined`).\n\n### `bcp47Normalize(tag[, options])`\n\nNormalize the given BCP 47 tag according to\n[Unicode CLDR suggestions][github-cldr-alias].\n\n###### Parameters\n\n* `tag` (`string`, required)\n  — BCP 47 tag\n* `options` ([`Options`][api-options], optional)\n  — configuration\n\n###### Returns\n\nNormal, canonical, and pretty [BCP 47][ietf-bcp-47] tag (`string`).\n\n## Compatibility\n\nThis package is compatible with maintained versions of Node.js.\n\nWhen we cut a new major release,\nwe drop support for unmaintained versions of Node.\nThis means we try to keep the current release line,\n`bcp-47-normalize@2`,\ncompatible with Node.js 14.14.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n* [`wooorm/bcp-47`][github-bcp-47]\n  — parse and stringify BCP 47 language tags\n* [`wooorm/bcp-47-match`][github-bcp-47-match]\n  — match BCP 47 language tags with language ranges per RFC 4647\n* [`wooorm/iso-3166`][github-iso-3166]\n  — ISO 3166 codes\n* [`wooorm/iso-639-2`][github-iso-639-2]\n  — ISO 639-2 codes\n* [`wooorm/iso-639-3`][github-iso-639-3]\n  — ISO 639-3 codes\n* [`wooorm/iso-15924`][github-iso-15924]\n  — ISO 15924 codes\n* [`wooorm/un-m49`][github-un-m49]\n  — UN M49 codes\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][opensource-guide-contribute].\n\n## License\n\n[MIT][file-license] © [Titus Wormer][wooorm]\n\n<!-- Definitions -->\n\n[api-bcp-47-normalize]: #bcp47normalizetag-options\n\n[api-options]: #options\n\n[api-warning]: #warning\n\n[badge-build-image]: https://github.com/wooorm/bcp-47-normalize/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/wooorm/bcp-47-normalize/actions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/wooorm/bcp-47-normalize.svg\n\n[badge-coverage-url]: https://codecov.io/github/wooorm/bcp-47-normalize\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/bcp-47-normalize.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/bcp-47-normalize\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/bcp-47-normalize\n\n[badge-size-url]: https://bundlejs.com/?q=bcp-47-normalize\n\n[esmsh]: https://esm.sh\n\n[file-license]: license\n\n[github-bcp-47]: https://github.com/wooorm/bcp-47\n\n[github-bcp-47-match]: https://github.com/wooorm/bcp-47-match\n\n[github-bcp-47-options]: https://github.com/wooorm/bcp-47#options\n\n[github-bcp-47-warning]: https://github.com/wooorm/bcp-47#warning\n\n[github-cldr-alias]: https://github.com/unicode-org/cldr/blob/release-49/common/supplemental/supplementalMetadata.xml\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[github-iso-15924]: https://github.com/wooorm/iso-15924\n\n[github-iso-3166]: https://github.com/wooorm/iso-3166\n\n[github-iso-639-2]: https://github.com/wooorm/iso-639-2\n\n[github-iso-639-3]: https://github.com/wooorm/iso-639-3\n\n[github-un-m49]: https://github.com/wooorm/un-m49\n\n[ietf-bcp-47]: https://tools.ietf.org/rfc/bcp/bcp47.html\n\n[npmjs-install]: https://docs.npmjs.com/cli/install\n\n[opensource-guide-contribute]: https://opensource.guide/how-to-contribute/\n\n[typescript]: https://www.typescriptlang.org\n\n[wooorm]: https://wooorm.com\n","readmeFilename":"readme.md"}