{"_id":"postal-code-checker","_rev":"24-b84f18a8dc4c4de6a1c18f819f5dc9b1","name":"postal-code-checker","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.1":{"name":"postal-code-checker","version":"1.0.1","keywords":["postal","code","checker","validator","zipcode","validation"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.1","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"89db9f97578a0cd55128505ad1c05e51e63865e3","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.1.tgz","fileCount":34,"integrity":"sha512-kU5AiCuL97foqSZxDw1Se+Wg8fo2jUMxtCrxD4ncAtboUMBxjsfIL9Fp55kvl9hyjM8NYAK3bxtclIqQk8hb0g==","signatures":[{"sig":"MEUCIEDrY6L81VwYZLAD5IfgC/z4GFljnMVttIJAeFQgCIzkAiEAmnA0hrxv61dAJbeae4pRwh9334fym1mzeHwmUILEVbI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56323},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","gitHead":"1524cbfd1ed3930b9d67f97b6a9c55f3e51edc70","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","publish":"npm publish","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","publish:check":"npm run prettier && npm publish --dry-run"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.7.0","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.1_1723134945051_0.9611098631638715","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"postal-code-checker","version":"1.0.2","keywords":["postal","code","checker","validator","zipcode","validation"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.2","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"201513ada7896e6dbe8b696bdf709d9a31de7748","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.2.tgz","fileCount":34,"integrity":"sha512-0BJLUTClyb+GChHrBnplP9H7u1M0IL3tQsmyHNIRuOTw051NqVPS5HIihMAxuiZJ0VPUFaWMocibJNexUv9Azw==","signatures":[{"sig":"MEYCIQDwF0xj3Sr0h4WzoISjdfmyvOOAWexhE6RD8SkPjo5KgQIhAP0hMT4eSICOIp9ov1u8up7qyObbY2tqglFcSKTgm59A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56396},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","gitHead":"1524cbfd1ed3930b9d67f97b6a9c55f3e51edc70","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","publish":"npm publish","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","publish:check":"npm run prettier && npm publish --dry-run"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.7.0","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.2_1723135701901_0.0596035761390743","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"postal-code-checker","version":"1.0.3","keywords":["postal","code","checker","validator","zipcode","validation"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.3","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"636938d382e7436136590974e3e5fb2f3823610b","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.3.tgz","fileCount":55,"integrity":"sha512-hLthRN3FtUjpwUxrHl2BLEEahvb9R16JqeBhQ29hSDzXaSb/7eIC8qWBjDmmseUp1DTMOcwrWWstPpBOgbXgYw==","signatures":[{"sig":"MEUCIQDvoGIxPbP2Ha9wm/k0sprHFcm0hkgcKpY7/NKB3XpJ/gIgdXjOMXdPTPgb825SHdVYOsH7mZRHfArRX0jwy8CERjM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98338},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","gitHead":"412376307a3668046c5b43a891f7eb36f54bf68e","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm publish","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","publish:check":"npm run prettier && npm publish --dry-run"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.7.0","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.3_1723137993419_0.839285905532505","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"postal-code-checker","version":"1.0.4","keywords":["postal","code","checker","validator","zipcode","validation"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.4","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"e7314283a21aceae84d63a764c4009823e5403a8","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.4.tgz","fileCount":43,"integrity":"sha512-QGzveUsn7GrdoAcaeDOB6EAlbEBoUJLlOauPHy1HW03ImI690i/Fz51Q6AIck6PXJs7UMYFCUUgacy+0qgUgtA==","signatures":[{"sig":"MEYCIQDtPDewLlSFvN5k5TwP8Gn0MI0TSa1lNNQJWnkzv50tmQIhAI0IcWqeCiE13s7zlfRlR1GN0KJwjF53dCTqSZtA9mAf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92609},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","gitHead":"ae38e7d0a4ee3d638233af8d0a9e474bab291779","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm publish","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","publish:check":"npm run prettier && npm publish --dry-run"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.7.0","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.4_1723266072566_0.8718412418832635","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"postal-code-checker","version":"1.0.5","keywords":["postal","code","checker","validator","zipcode","validation"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.5","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"b4d3069fa598deb82b72695f39e65ea9c4229ab7","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.5.tgz","fileCount":43,"integrity":"sha512-t30NTn1NHxbODKGEhVB1KnFVvOSG0GL5nw/zMgR+s19b4gEcXmzPCbaN9Smp0yyZUPFpYmPuRJYKOJqRHfA6bQ==","signatures":[{"sig":"MEUCIQDPXSf/BMEbFMjYGgwp9AvPMRzY7ZyI0ikxJy0OrzhqtQIgFdYTrsodkRx6c5bwgIWOYD97FpO/9VWJBmiy/xaSH9k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":94191},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","gitHead":"0a9b810ef111ccb9cbae291c894db7eeed4b941c","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm publish","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","publish:check":"npm run prettier && npm publish --dry-run"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.7.0","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.5_1723272585079_0.6855022739637078","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"postal-code-checker","version":"1.0.6","keywords":["postal","code","checker","validator","zipcode","validation"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.6","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"51aa560596d80d05751084602c76dd6a04d85aeb","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.6.tgz","fileCount":43,"integrity":"sha512-QAZNyw0sb2mRRjUH/sInxFp02FMpGGLwwPKJAT1w8kuwwGGETDIb/jGf8lolqynZXTA6TvtCkp8HbZcHoEFIVQ==","signatures":[{"sig":"MEQCIGQcr7RJSCO9/Q8Ukprh5hiqvfzYdpA+E2Dmd4XY5VOxAiB9cSLGIyfItW+OX+Gj82r+DILHy7RU4l0p2l1GOx28Vw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96159},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","gitHead":"7ad63a7ed61da19fdf5f2be3435be4258f378fa9","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"npm run clean && npm run build:cjs && npm run build:esm","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm publish","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","publish:check":"npm run prettier && npm publish --dry-run"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.8.1","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.6_1723279759074_0.08172968092266575","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"postal-code-checker","version":"1.0.7","keywords":["postal","code","checker","validator","zipcode","validation","postal code","validation","typescript","npmpackage"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.7","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"0db974ea6bfa8ca0836b210932579fd7812398fd","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.7.tgz","fileCount":15,"integrity":"sha512-bcdEpvIGGPuzOnwC2qHlKoA3/hSBT/XIyNop2fSrNEAlXwjEc/Ur7SNXbHTcHszCmuAXPSFDGdlfDI5ityjfxQ==","signatures":[{"sig":"MEYCIQC3Vwx+8EpFw1/F4xwDO7PaNYb8VQu/Ki+831RvxDGz1QIhAMaS92UvFMFYMne9zZYkREqIkcN7NK0yM6sy52hT099d","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90781},"main":"./dist/index.cjs.js","types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"35c527cf7f5f274549ec4eb4d53e5dcef4eab9d1","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm run prettier &&  npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.8.1","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.7_1723288928840_0.6307010907125434","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"postal-code-checker","version":"1.0.8","keywords":["postal","code","checker","validator","zipcode","validation","postal code","validation","typescript","npmpackage"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.8","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"5e186d9cb6b47f7d7f2f5b0f838a1cc92f0936b1","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.8.tgz","fileCount":15,"integrity":"sha512-zFFKBIiif3hAGRIr7/vFyGeG7eCmQ04pUFKK+BxUX7JyYrTG2HzOnlCKJYlOmv+VR7zVtFoWvf7k/fyW313jJQ==","signatures":[{"sig":"MEUCIQCU1ZQJUZqWsSON+MAzahKT/o6qvuMZO2VnLVRyXwwtVAIgBPrfPempVr5EbikIvJ/CooYu84NBpCVXyzHCiGrEYkg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90934},"main":"./dist/index.cjs.js","types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"badcec6f0819a952ec9209bf5bdf994cad8d5133","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm run prettier &&  npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.8.1","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^2.0.20","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.8_1723290974619_0.10518077130783499","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"postal-code-checker","version":"1.0.9","keywords":["postal","code","checker","validator","zip","zip code","validation","postal code","validation","typescript","npmpackage"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.9","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"f8f8022c33c0465d322d3460a25a76ffdaf0efa6","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.9.tgz","fileCount":6,"integrity":"sha512-nXMia/YE1AKo16F43rTVbux+BdwzRQCAJR56AD7zDs28OjTRZRz+VJ8urSaumUkzUXOGbVZojbmbMYjCeJLYFQ==","signatures":[{"sig":"MEYCIQDW2HuMMQEDFEzpz4xw6bcWf7fA5ej/0hSlJPWNLYGK7gIhAION0G4F6KFlQWixQnn4wxupf2hih+zdWIZk/lD4XOfQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90124},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"da45b8508df6e5a828428407b28702a0f0d4f76d","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm run prettier &&  npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.8.1","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.9_1723296408700_0.8458836350217651","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"postal-code-checker","version":"1.0.10","keywords":["postal-code","postal-code-validator","postcode","postcode-validator","zip","zip-code","zipcode","zip-validator","validator","validation","checker","address","address-validation","form-validation","i18n","international","iso-3166","iso-3166-1","country","typescript","esm","commonjs"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.10","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"707b763b937764b7f004debae9ca0af67441d9b6","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.10.tgz","fileCount":6,"integrity":"sha512-swDhJsXO5O1z8Fn4aj4D9X6IcLyZEs6/u5g4C1zI+9Lk5Lq5efZQTwY5EE5xZYOzQltJazXmpSbkuIvIHCQ88A==","signatures":[{"sig":"MEYCIQCMoBbWqV/sMTM2F9L8HFrbFNFbLFt+Zezrn8T7Y3qX+AIhAMgc0Ve3ImM1Rak/ZhexPYKDn0B6cDyA8ogGft9cpwfL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90503},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"4581efc4de7b098c5379d034a98e6b5653dcf681","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm run prettier &&  npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.10_1776176275214_0.9512476511249388","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"postal-code-checker","version":"1.0.11","keywords":["postal-code","postal-code-validator","postcode","postcode-validator","zip","zip-code","zipcode","zip-validator","validator","validation","checker","address","address-validation","form-validation","i18n","international","iso-3166","iso-3166-1","country","typescript","esm","commonjs"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.11","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"0266d7c178016c1f137eb455037fdfa30620cece","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.11.tgz","fileCount":6,"integrity":"sha512-iaQC/wEslr+pHa5ySk7q4/6VJVLyynasW1iygveknOw0eGdPa3lpTOskuwkWLc4Ilwa0pzdUHPTyy2X71pYGCA==","signatures":[{"sig":"MEQCIE5N+d9HHu/ogR63o9t0UuC/SefEmYH+wjV/sZyXQC2PAiABdhrLSw/L7+nWKcficNDNzHIwCv9STOzjlnt5ct4UXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90581},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"fba83266ec94388af8e48a9d6196c17c90d1302c","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","publish":"npm run prettier &&  npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.11_1776184172749_0.8769703525521837","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"postal-code-checker","version":"1.0.12","keywords":["postal-code","postal-code-validator","postcode","postcode-validator","zip","zip-code","zipcode","zip-validator","validator","validation","checker","address","address-validation","form-validation","i18n","international","iso-3166","iso-3166-1","country","typescript","esm","commonjs"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.0.12","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"e3d34718825c773ac6f46452bff382aff40cabe2","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.0.12.tgz","fileCount":6,"integrity":"sha512-n8hLfTOqNSeBBhFVqu8+WWDyC4m0HoZfrq1KnajstqXw363M4MFK01YvGc8dlf91BgTGD6zi3xAUf2H0ta6Xfw==","signatures":[{"sig":"MEYCIQDBoOHdDQZwVFYe/XNi2DDuykIDJujPoqsd7ro8IAihCgIhAO29quvaXdI9MsW0CZmTV22pF4lHjCZonuOtai97lTDo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90580},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"f39bf11bd3c0cfc964f405b705fce26fc55a9bde","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","release":"npm run prettier && npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.0.12_1776185785454_0.30885298274673767","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"postal-code-checker","version":"1.1.0","keywords":["postal-code","postal-code-validator","postcode","postcode-validator","zip","zip-code","zipcode","zip-validator","validator","validation","checker","address","address-validation","form-validation","i18n","international","iso-3166","iso-3166-1","country","typescript","esm","commonjs"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@1.1.0","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"9515496755c3d15641c823ed03c1ee31d10e37d8","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-1.1.0.tgz","fileCount":6,"integrity":"sha512-TJuLm8LoyXxKJYJgANDFcZBG3zOFF3XaqjXQmJF6P7w0dmvyzM7XjgKiCpOFcwW3eGd7zuyy1YUA8PgL6LENNQ==","signatures":[{"sig":"MEUCIQCBozy4oY9apPUbAlLGRqQoSOl4MbkM10Gu1LNOw7EnzwIgXiBpJh5oaTLm8QedHF6pQEKL4Yn1XSGu7AYt0aM1cB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104391},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"59b5d6e5fec9d7a80b2a60ee6b13af5e1f90803b","scripts":{"lint":"eslint \"{**/*,*}.{js,ts}\"","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","release":"npm run prettier && npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_1.1.0_1776188753532_0.7658582238195646","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.1":{"name":"postal-code-checker","version":"2.0.0-alpha.1","keywords":["postal-code","postal-code-validator","postcode","postcode-validator","zip","zip-code","zipcode","zip-validator","validator","validation","checker","address","address-validation","form-validation","i18n","international","iso-3166","iso-3166-1","country","typescript","esm","commonjs"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.0.0-alpha.1","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://github.com/sashiksu/postal-code-checker#readme","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"f605182698444f92e5c3314a8e7f90ac99ecab97","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.0.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-n0IzmEmthrP9fcYTaLN17ULyfEyPYz4mjAbvq+O4q+Mw8zehW8c7mjWnU63xI5zYLRDvoMYa/sIru1onGG/l+Q==","signatures":[{"sig":"MEQCIH25q0vfw9nc20FoOmXCaT+eflql57HHFdi0J2Urh3faAiA8EujgwDMPF8SogV5sONj5WHIPAd+markQjAPeRGznfg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100310},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"7527994ec274da41baf9a0a94dc83b49ce1beca0","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public --tag next","prepublishOnly":"npm run sync:check && npm test"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","@eslint/js":"^9.7.0","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","typescript-eslint":"^8.0.0","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.0.0-alpha.1_1776535877960_0.44524236858143706","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"postal-code-checker","version":"2.0.0","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.0.0","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://sashiksu.github.io/postal-code-checker/","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"b58c991163e18e05555f36857c93878f168fe99e","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.0.0.tgz","fileCount":7,"integrity":"sha512-TYVB1DQDvxOu98p0f/jcJyKKq7uCOMsfgYNNOzdi7CjWJbwt2Cdm2Zb2UgTZheAjBGO1t3mjGw4bNfZqpX88TA==","signatures":[{"sig":"MEUCIHvfL74DTyrtBsExtJluu/JpcDJLLBQgJSVSRyfTnq57AiEA8WBXpLW5FE1dQTD3681i0DF3zJuuV/4BLDdTZCtFjP8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96558},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"8073868dc550189a9b65a6bf2a68446803aed77f","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","start":"webpack serve --open --config webpack.config.js","watch":"nodemon --watch src --ext ts,tsx --exec \"npm run build\"","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"{src,tests,example/src}/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public --tag next","prepublishOnly":"npm run sync:check && npm test","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"antd":"^5.19.4","jest":"^29.7.0","react":"^18.3.1","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","nodemon":"^3.1.4","ts-jest":"^29.2.4","ts-node":"^10.9.2","webpack":"^5.93.0","prettier":"^3.3.3","react-dom":"^18.3.1","ts-loader":"^9.5.1","@eslint/js":"^9.7.0","playwright":"^1.59.1","typescript":"^5.5.4","@babel/core":"^7.24.9","@types/jest":"^29.5.12","webpack-cli":"^5.1.4","@types/react":"^18.3.3","babel-loader":"^9.1.3","@types/react-dom":"^18.3.0","@ant-design/icons":"^5.4.0","@babel/preset-env":"^7.24.8","typescript-eslint":"^8.0.0","webpack-dev-server":"^5.0.4","html-webpack-plugin":"^5.6.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@babel/preset-typescript":"^7.24.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.0.0_1776604397903_0.5651637751909075","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"postal-code-checker","version":"2.0.1","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.0.1","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://sashiksu.github.io/postal-code-checker/","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"e11c6de45893833a95cf6aeebf0ebe6ac457c8dd","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.0.1.tgz","fileCount":7,"integrity":"sha512-T1PpHjXXkjvLr+9Ef4Cb9mODglclwDrDQ/Mdj4xSBzqDWyuUnbulGt9jeDBG+BeCcqVIE1JIHR/itLNGAEqJ6A==","signatures":[{"sig":"MEQCIBU4iRvDgO6MOLuo9cOnuikvC5a50UaSqN0HS3GF4kI0AiAvx5R9YlwTpsfNnTIIjhvz1Rlhh5R6+CFC5mUR1CauiQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96422},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"55feec88ee81da5e1cdc5c9432c3aa93241e5b88","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"src/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public --tag next","prepublishOnly":"npm run sync:check && npm test","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","ts-jest":"^29.2.4","ts-node":"^10.9.2","prettier":"^3.3.3","@eslint/js":"^9.7.0","playwright":"^1.59.1","typescript":"^5.5.4","@types/jest":"^29.5.12","typescript-eslint":"^8.0.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.0.1_1776617744420_0.5430411612811636","host":"s3://npm-registry-packages-npm-production"}},"2.1.0-alpha.1":{"name":"postal-code-checker","version":"2.1.0-alpha.1","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.1.0-alpha.1","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://sashiksu.github.io/postal-code-checker/","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"1f967c7140abb8b4db085dee01bd262fe84524b0","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.1.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-ac1IgDbvgs3D+WhspKsWGRGb6PhvHNK8i1L/e/77yUb8U5BwqaW0x4gw4a4KgzPo/xRHnwCuN/QMpKb+7Hww4Q==","signatures":[{"sig":"MEQCIH4lzfoW6tGL57Ufv+HNR8+ICgxSJktRSebSldhbVlkvAiAwdLy+UEaoKscn0vh+RT7YFB1DlPb+pOyfnxApIqJ1Wg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104802},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"a416df5073b34cfd2db9acefa3f63d25d00c6925","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"src/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public --tag next","prepublishOnly":"npm run sync:check && npm test","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","ts-jest":"^29.2.4","ts-node":"^10.9.2","prettier":"^3.3.3","@eslint/js":"^9.7.0","playwright":"^1.59.1","typescript":"^5.5.4","@types/jest":"^29.5.12","typescript-eslint":"^8.0.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.1.0-alpha.1_1776625199653_0.10028468847118388","host":"s3://npm-registry-packages-npm-production"}},"2.1.0-alpha.2":{"name":"postal-code-checker","version":"2.1.0-alpha.2","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.1.0-alpha.2","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://sashiksu.github.io/postal-code-checker/","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"e7fa77e28c8f61b2c017361c10e634147846e724","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.1.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-bYGhgZqI5APFvSe5bnxj+9Nv2L+aW6hIlChZLDikkTyl8F82si6IQOBBIeuWhlVk+xvas1STi/DydS0CVJ/N1w==","signatures":[{"sig":"MEQCIFnJyUFHKjUM4VB3zid3jzEmMMaAVuNp3tKOLtZacFphAiASxdcIRs5/bQg0Sd4x2wn9sWQ4RHTgdhnnPDrPG8q11g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130804},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"6681b1e69828b26c41097c471a21f16bd725660f","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"src/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run build && npm publish --access public --tag next","prepublishOnly":"npm test","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","ts-jest":"^29.2.4","ts-node":"^10.9.2","prettier":"^3.3.3","@eslint/js":"^9.7.0","playwright":"^1.59.1","typescript":"^5.5.4","@types/jest":"^29.5.12","typescript-eslint":"^8.0.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.1.0-alpha.2_1776669653947_0.10492226125353654","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"postal-code-checker","version":"2.1.0","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.1.0","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://sashiksu.github.io/postal-code-checker/","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"375e4e92e888fb21c8f21cc5ad726d7b16e7c2f3","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.1.0.tgz","fileCount":7,"integrity":"sha512-zZMYHHg3KWAOhlNhJJjrEQnkSSIs+OhiksUwAQHCGDbpjWypzLHs2yIroiGBHAqt1z5kA2C9Hg+LRb8e9YyaYA==","signatures":[{"sig":"MEUCIQDavxxbIOiG8BRSSPbDSkJ/G6qv3U8WfRie6pUodPVmxAIgYubalRVJvHhEgOY0YFDnPrxHMnmc0iWl7zkpCvLDxxY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130830},"main":"./dist/index.cjs.js","types":"dist/index.d.ts","module":"./dist/index.esm.js","gitHead":"0fdd83fbfc5e1c4c3459eba7772f4a8f2fe8c76e","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts","clean":"rimraf dist","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"src/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run build && npm publish --access public --tag next","prepublishOnly":"npm test","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.4","description":"A package for validating postal codes from various countries.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","ts-jest":"^29.2.4","ts-node":"^10.9.2","prettier":"^3.3.3","@eslint/js":"^9.7.0","playwright":"^1.59.1","typescript":"^5.5.4","@types/jest":"^29.5.12","typescript-eslint":"^8.0.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.1.0_1776709183471_0.9909382232141968","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"postal-code-checker","version":"2.2.0","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"author":{"name":"Sashika Suraweera"},"license":"MIT","_id":"postal-code-checker@2.2.0","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"homepage":"https://sashiksu.github.io/postal-code-checker/","bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"dist":{"shasum":"b865f7e7aaeb17545393c0d6e8bc564bb1564583","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.2.0.tgz","fileCount":8,"integrity":"sha512-I5ww6nC9b+aRG7nuVx8xf5lLeIekcnvobHClh4ihYvZsG+JdT3qA3OOLD4F4wJxnTYURIgrVr3W7bSnbnW7u4g==","signatures":[{"sig":"MEUCIE4xARFk61ShqNBF+CdGJ+RYiz7EKiSt6xX9bH3zl1nqAiEA30qfh+XMVdul9g62y/6SMJdHRtutB5ECmlRda4DFJk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143179},"main":"./dist/index.cjs.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}},"./package.json":"./package.json"},"gitHead":"a960611e27df13e9ee334288e2624cc3eb34d290","scripts":{"lint":"eslint .","test":"jest","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts && cp dist/index.d.ts dist/index.d.mts","clean":"rimraf dist","prepare":"npm run build","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","prettier":"prettier --write \"src/**/*.{js,ts}\"","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","release:next":"npm run prettier && npm test && npm run build && npm publish --access public --tag next","prepublishOnly":"npm test","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts"},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"repository":{"url":"git+https://github.com/sashiksu/postal-code-checker.git","type":"git"},"_npmVersion":"10.9.8","description":"A package for validating postal codes from various countries.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.7.0","rimraf":"^6.0.1","rollup":"^4.20.0","globals":"^15.0.0","ts-jest":"^29.2.4","ts-node":"^10.9.2","prettier":"^3.3.3","@eslint/js":"^9.7.0","playwright":"^1.59.1","typescript":"^5.5.4","@types/jest":"^29.5.12","typescript-eslint":"^8.0.0","dts-bundle-generator":"^9.5.1","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/postal-code-checker_2.2.0_1784267763479_0.5703604029163296","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"postal-code-checker","version":"2.3.0","description":"A package for validating postal codes from various countries.","author":{"name":"Sashika Suraweera"},"license":"MIT","main":"./dist/index.cjs.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs.js"}},"./package.json":"./package.json"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"clean":"rimraf dist","build":"rollup -c --bundleConfigAsCjs && tsc --emitDeclarationOnly && dts-bundle-generator -o dist/index.d.ts src/index.ts && cp dist/index.d.ts dist/index.d.mts","build:cjs":"tsc -p tsconfig.cjs.json && rimraf dist/cjs/__tests__","build:esm":"tsc -p tsconfig.esm.json && rimraf dist/cjs/__tests__","lint":"eslint .","prettier":"prettier --write \"src/**/*.{js,ts}\"","test":"jest","sync:data":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts","sync:check":"ts-node -P tsconfig.cjs.json scripts/sync-postal-data.ts -- --check","gen:social-preview":"ts-node -P tsconfig.cjs.json scripts/gen-social-preview.ts","prepare":"npm run build","prepublishOnly":"npm test","release":"npm run prettier && npm test && npm run sync:check && npm run build && npm publish --access public","release:next":"npm run prettier && npm test && npm run build && npm publish --access public --tag next"},"keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"repository":{"type":"git","url":"git+https://github.com/sashiksu/postal-code-checker.git"},"bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"homepage":"https://sashiksu.github.io/postal-code-checker/","devDependencies":{"@eslint/js":"^9.7.0","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/jest":"^29.5.12","dts-bundle-generator":"^9.5.1","eslint":"^9.7.0","globals":"^15.0.0","jest":"^29.7.0","playwright":"^1.59.1","prettier":"^3.3.3","rimraf":"^6.0.1","rollup":"^4.20.0","ts-jest":"^29.2.4","ts-node":"^10.9.2","typescript":"^5.5.4","typescript-eslint":"^8.0.0"},"_id":"postal-code-checker@2.3.0","gitHead":"1d20cb9d668936dd2f3ba1e99149c65079e15f44","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-Hp3WY+QX9gpYFHydmV4y7QvYDpU1nH0pjOsAY+wUpxZ751cxbgo9yM3g7jNa3CF+7U58sFzmQzqMfs4E9EhBcg==","shasum":"e5b1c045b1f61b0e7c304499c4866f245dae0db8","tarball":"https://registry.npmjs.org/postal-code-checker/-/postal-code-checker-2.3.0.tgz","fileCount":8,"unpackedSize":287527,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIECxJ36TJDXLNam0Z46aldm9HgAIVkU2YwMiDmMl5aS5AiEA3dkfhVin4UzIsNz4dglsS4E2IY5BFSGUysKawA+8rjI="}]},"_npmUser":{"name":"sashiksu","email":"sashiksu@outlook.com"},"directories":{},"maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postal-code-checker_2.3.0_1784306154647_0.7882961592707647"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-08T16:35:45.050Z","modified":"2026-07-17T16:35:54.986Z","1.0.0":"2024-08-07T14:23:59.764Z","1.0.1":"2024-08-08T16:35:45.311Z","1.0.2":"2024-08-08T16:48:22.066Z","1.0.3":"2024-08-08T17:26:33.555Z","1.0.4":"2024-08-10T05:01:12.767Z","1.0.5":"2024-08-10T06:49:45.311Z","1.0.6":"2024-08-10T08:49:19.263Z","1.0.7":"2024-08-10T11:22:09.022Z","1.0.8":"2024-08-10T11:56:14.841Z","1.0.9":"2024-08-10T13:26:48.850Z","1.0.10":"2026-04-14T14:17:55.427Z","1.0.11":"2026-04-14T16:29:32.882Z","1.0.12":"2026-04-14T16:56:25.584Z","1.1.0":"2026-04-14T17:45:53.686Z","2.0.0-alpha.1":"2026-04-18T18:11:18.101Z","2.0.0":"2026-04-19T13:13:18.037Z","2.0.1":"2026-04-19T16:55:44.576Z","2.1.0-alpha.1":"2026-04-19T18:59:59.789Z","2.1.0-alpha.2":"2026-04-20T07:20:54.100Z","2.1.0":"2026-04-20T18:19:43.642Z","2.2.0":"2026-07-17T05:56:03.615Z","2.3.0":"2026-07-17T16:35:54.842Z"},"bugs":{"url":"https://github.com/sashiksu/postal-code-checker/issues"},"author":{"name":"Sashika Suraweera"},"license":"MIT","homepage":"https://sashiksu.github.io/postal-code-checker/","keywords":["postcode","postal-code","zipcode","zip","validation","validator","address","country","iso-3166","typescript","zero-dependencies","form","batch-validation","react","checkout"],"repository":{"type":"git","url":"git+https://github.com/sashiksu/postal-code-checker.git"},"description":"A package for validating postal codes from various countries.","maintainers":[{"name":"sashiksu","email":"sashiksu@outlook.com"}],"readme":"# 📮 postal-code-checker\n\n**Validate postal codes and ZIP codes for 249 countries. TypeScript-first. Zero dependencies.**\n\n[![npm version](https://img.shields.io/npm/v/postal-code-checker.svg)](https://www.npmjs.com/package/postal-code-checker)\n[![npm downloads](https://img.shields.io/npm/dm/postal-code-checker.svg)](https://www.npmjs.com/package/postal-code-checker)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/postal-code-checker.svg)](https://bundlephobia.com/package/postal-code-checker)\n[![types](https://img.shields.io/npm/types/postal-code-checker.svg)](https://www.npmjs.com/package/postal-code-checker)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-success.svg)](./package.json)\n[![license](https://img.shields.io/npm/l/postal-code-checker.svg)](./LICENSE)\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/sashiksu/postal-code-checker/master/docs/hero.gif\" alt=\"Validating postal codes for 249 countries in real time\" width=\"480\" />\n</p>\n\n**Prefer to try before installing?**\n\n<p align=\"center\">\n  <a href=\"https://sashiksu.github.io/postal-code-checker/\">\n    <img src=\"https://img.shields.io/badge/%F0%9F%9A%80%20%20Launch%20the%20Live%20Demo-171717?style=for-the-badge&labelColor=171717&color=ff6b35\" alt=\"Launch the Live Demo\" height=\"56\" />\n  </a>\n</p>\n\nBrowse the full 249-country dataset, run single and batch validations, and edit live code right in the browser — no install required.\n\nPowered by Google's [`libaddressinput`](https://github.com/google/libaddressinput) — the same dataset behind Chromium, Android, and Google Pay address forms.\n\n<details>\n<summary><b>Contents</b></summary>\n\n- [Quick start](#-quick-start)\n- [Why postal-code-checker?](#-why-postal-code-checker)\n- [Use cases](#-use-cases)\n- [API Reference](#-api-reference)\n- [Types](#️-types)\n- [Migration Guide](#-migration-guide)\n- [Roadmap](#️-roadmap)\n- [Data Sources](#-data-sources)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n</details>\n\n---\n\n## ⚡ Quick start\n\n```bash\nnpm install postal-code-checker\n```\n\n```ts\nimport { validatePostalCode, validatePostalCodes } from \"postal-code-checker\";\n\nvalidatePostalCode(\"US\", \"90210\");          // → true\nvalidatePostalCode(\"CA\", \"k1a 0t6\");         // → true  (case + whitespace tolerant)\nvalidatePostalCode(\"GBR\", \"SW1A 1AA\");       // → true  (alpha-3 works too)\n\nvalidatePostalCodes(\"US\", [\"12345\", \"oops\"]); // → [true, false]\n```\n\nWorks in **React, Next.js, Vue, Svelte, Angular, Node.js, Deno, Bun, and plain browser JS** — no framework assumptions.\n\n---\n\n## 💡 Why postal-code-checker?\n\nMost postal-code libraries ship a hand-written list of regexes. Someone typed\nthem in once, and they drift quietly as postal authorities change formats.\n\n**This one is generated, not typed.** Every pattern is regenerated from Google's\nfirst-party [`libaddressinput`](https://github.com/google/libaddressinput)\nAddress Data Service — the dataset behind Chromium, Android, and Google Pay\naddress forms — and the release is **blocked if the bundled data has drifted\nfrom upstream**. `src/assets/index.ts` carries a snapshot date, and\n`npm run sync:check` fails the publish if it is stale. The data is not a\none-time import; it is a build output with a provenance trail.\n\nThat is what the rest of the feature list rests on:\n\n- 🌍 **249 countries** — the full ISO 3166-1 alpha-2 and alpha-3 list, including\n  the countries that have **no postal system at all**, where the correct answer\n  is \"this field does not apply\" rather than a false rejection.\n- 🔄 **Regenerated per release, drift-gated** — a stale dataset cannot ship.\n- 📋 **Batch API** — `validatePostalCodes(country, codes[])` returns an index-aligned `boolean[]`. Designed for CSV imports, bulk address uploads, and form arrays.\n- 🧩 **Extensible at runtime** — `configure()` registers your own countries or\n  overrides a bundled one. Codes outside ISO 3166-1 (Kosovo, internal region\n  codes) work without forking the package.\n- 🔎 **More than a boolean** — `format()` returns the canonical storable form,\n  `guessCountries()` infers candidates from a bare code.\n- 🔤 **Alpha-2 and alpha-3 both work** — call with `\"US\"` or `\"USA\"`, `\"GB\"` or `\"GBR\"`. No branching at your call sites.\n- ✨ **Forgiving input** — case-insensitive and whitespace-tolerant. `\"k1a 0t6\"`, `\" K1A 0T6 \"`, and `\"K1A0T6\"` all validate equivalently where the country allows it.\n- 🪶 **Zero dependencies, TypeScript-first, dual ESM + CommonJS** — bundled\n  `.d.ts`, no `@types/*` install, `import` and `require()` both resolve through\n  a strict `exports` map.\n- 🌐 **Framework-agnostic** — React, Next.js, Vue, Svelte, Angular, Node.js, Deno, Bun, plain browser JS.\n\n---\n\n## 🧩 Use cases\n\n<details>\n<summary><b>Ecommerce checkout — validate ZIP before hitting your address API</b></summary>\n\n```ts\nimport { validatePostalCode } from \"postal-code-checker\";\n\nfunction onZipBlur(country: string, zip: string) {\n  if (!validatePostalCode(country, zip)) {\n    return \"Please check your postal code.\";\n  }\n  // safe to POST to /address-lookup\n}\n```\n\n</details>\n\n<details>\n<summary><b>React Hook Form — drop-in custom validator</b></summary>\n\n```tsx\nimport { useForm } from \"react-hook-form\";\nimport { validatePostalCode } from \"postal-code-checker\";\n\nconst { register } = useForm<{ country: string; postal: string }>();\n\n<input\n  {...register(\"postal\", {\n    validate: (value, { country }) =>\n      validatePostalCode(country, value) || \"Invalid postal code\",\n  })}\n/>\n```\n\n</details>\n\n<details>\n<summary><b>CSV / bulk import sanity check — batch API</b></summary>\n\n```ts\nimport { validatePostalCodes } from \"postal-code-checker\";\n\nconst rows = await parseCsv(\"./addresses.csv\");\nconst postals = rows.map((r) => r.postal);\nconst results = validatePostalCodes(\"US\", postals);\n\nconst bad = rows.filter((_, i) => !results[i]);\nconsole.log(`${bad.length} rows need review`);\n```\n\nBatch calls avoid N regex compiles — one country lookup, N matches. Index-aligned output so you can zip results back to input rows.\n\n</details>\n\n<details>\n<summary><b>Next.js server action — country-aware validation</b></summary>\n\n```ts\n\"use server\";\nimport { validatePostalCode } from \"postal-code-checker\";\n\nexport async function submitAddress(data: FormData) {\n  const country = String(data.get(\"country\"));\n  const postal = String(data.get(\"postal\"));\n  if (!validatePostalCode(country, postal)) {\n    return { error: \"Invalid postal code for that country\" };\n  }\n  // persist…\n}\n```\n\n</details>\n\n<details>\n<summary><b>Address autocomplete fallback — when no API is available</b></summary>\n\n```ts\nimport { getCountryByCode } from \"postal-code-checker\";\n\nconst country = getCountryByCode(\"DE\");\n// country.examplePostalCodes → [\"10115\"]  ← use as placeholder\n// country.postalCodePatterns → anchored regex strings, safe to render\n```\n\n</details>\n\n---\n\n## 📚 API Reference\n\n### `validatePostalCode(countryCode, postalCode): boolean`\n\nValidates a single postal code against a country. Accepts both alpha-2 and alpha-3 ISO 3166-1 codes. Input is trimmed and uppercased before matching, so `\"k1a 0t6\"`, `\" K1A 0T6 \"`, and `\"K1A0T6\"` all validate equivalently where the country allows it.\n\n### `validatePostalCodes(countryCode, postalCodes): boolean[]`\n\nValidates an array of postal codes against one country and returns an index-aligned array of results. Unique to this package — use it for CSV imports, bulk address uploads, and form arrays.\n\n### `format(countryCode, postalCode): string | null` — _new in 2.1_\n\nReturns the canonical form of a valid postal code (trimmed, uppercased), ready to store in a database. Returns `null` when the input doesn't match the country's pattern or the country has no postal code system. Accepts alpha-2 and alpha-3.\n\n```ts\nformat(\"CA\", \"k1a 0t6\"); // → \"K1A 0T6\"\nformat(\"US\", \"  12345 \"); // → \"12345\"\nformat(\"US\", \"ABC12\");    // → null\n```\n\n### `guessCountries(postalCode): CountryOption[]` — _new in 2.1_\n\nGiven a postal code with no country context, returns every country whose pattern accepts the input. Sorted alphabetically by `countryName` — ready to render as a picker. Countries with no postal code system are excluded.\n\n```ts\nguessCountries(\"K1A 0T6\");\n// → [{ countryName: \"Canada\", countryCode: \"CA\" }]\n\nguessCountries(\"12345\");\n// → [{ countryName: \"Algeria\", ... }, { countryName: \"Germany\", ... }, ...]\n```\n\n### `inferSubdivision(countryCode, postalCode): Subdivision[]` — _new in 2.3_\n\nResolves a postal code to the state or province it belongs to — for auto-filling a region field from a ZIP, offline, with no API call. The postal code is validated first, so an invalid code never returns a wrong guess. Always an array sorted by code: subdivision prefixes overlap, so some codes genuinely belong to more than one region.\n\n```ts\ninferSubdivision(\"US\", \"90210\");   // → [{ code: \"CA\", name: \"California\" }]\ninferSubdivision(\"CA\", \"K1A 0T6\"); // → [{ code: \"ON\", name: \"Ontario\" }, { code: \"QC\", name: \"Quebec\" }]\ninferSubdivision(\"US\", \"999999\");  // → []  (not a valid US ZIP)\n```\n\n`code` is the ISO 3166-2 subdivision code without the country prefix (`\"CA\"`, not `\"US-CA\"`).\n\n### `getSubdivisions(countryCode): Subdivision[]` — _new in 2.3_\n\nEvery subdivision the dataset knows for a country, sorted by code — ready to render as a picker. `[]` when there is no data.\n\n### `hasSubdivisionData(countryCode): boolean` — _new in 2.3_\n\nWhether subdivision data exists for a country. Use it to tell \"no data for this country\" apart from \"the code matched nothing\" — both make `inferSubdivision` return `[]`.\n\n### `isInSubdivision(countryCode, postalCode, subdivision): boolean` — _new in 2.3_\n\nWhether a postal code is valid **and** belongs to a specific subdivision (the unprefixed ISO 3166-2 code). Kept separate from `validatePostalCode` so consumers who only validate never bundle the subdivision dataset.\n\n```ts\nisInSubdivision(\"US\", \"90210\", \"CA\"); // → true\nisInSubdivision(\"US\", \"90210\", \"NY\"); // → false\n```\n\n### `getPostalLabel(countryCode): string` — _new in 2.3_\n\nThe name a country uses for its postal code, for labelling a form field per country instead of showing \"ZIP code\" worldwide. Defaults to `\"postal code\"`.\n\n```ts\ngetPostalLabel(\"US\"); // → \"ZIP code\"\ngetPostalLabel(\"IN\"); // → \"PIN code\"\ngetPostalLabel(\"IE\"); // → \"Eircode\"\ngetPostalLabel(\"DE\"); // → \"postal code\"\n```\n\n> **Subdivision coverage.** The upstream dataset publishes subdivision postal prefixes for **24 of 249 countries** — including the US, Canada, Brazil, India, Japan, Australia and Mexico, but **not** the UK, Germany, France or China. `inferSubdivision` returns `[]` for the rest; use `hasSubdivisionData()` to tell that apart from a validation failure. Subdivision data is tree-shaken out of the default import, so consumers who only validate pay nothing for it.\n\n### `getCountryByCode(countryCode): Country | null`\n\nReturns the full country record (patterns, example codes, name, 2-letter code) or `null` if unknown. Accepts alpha-2 or alpha-3. `postalCodePatterns` is a `string[]` — most countries have one entry, some (e.g. GB with BFPO) have several.\n\n### `getAllCountries(): CountryOption[]`\n\nReturns `{ countryName, countryCode }[]` for every supported country, sorted alphabetically.\n\n### `configure(config): void` — _new in 2.1_\n\nRegisters a user-supplied country dataset in one call, typically at app boot. Each entry either replaces a built-in country (when the alpha-2 key matches) or adds a brand-new country. Every utility in the package honors the override immediately — no call-site changes needed.\n\n```ts\nimport { configure, validatePostalCode } from \"postal-code-checker\";\n\nconfigure({\n  countries: {\n    // Kosovo — not in ISO 3166-1, so not in the bundled dataset\n    XK: {\n      patterns: [\"/^(?:[1-7]\\\\d{4})$/\"],\n      example: [\"10000\", \"20000\"],\n      country: \"Kosovo\",\n      alpha3: \"XKX\",\n    },\n  },\n});\n\nvalidatePostalCode(\"XK\", \"10000\");  // → true\nvalidatePostalCode(\"XKX\", \"10000\"); // → true (alpha-3 works)\n```\n\nReplace semantics per country, idempotent across calls, and a fail-fast `ConfigurationError` on bad input. Full guide: [`docs/CONFIGURATION.md`](./docs/CONFIGURATION.md).\n\n> **SSR / multi-tenant:** `configure()` is a module-level singleton and isn't designed for per-request overrides. If you need that, [open an issue](https://github.com/sashiksu/postal-code-checker/issues/new) describing your use case.\n\n### `resetConfig(): void` — _new in 2.1_\n\nDiscards any active `configure()` override and restores the bundled defaults. Primary use cases: test teardown (`afterEach(resetConfig)`), scenario switching, HMR.\n\n```ts\nafterEach(() => {\n  resetConfig();\n});\n```\n\n### `usePostalCodeValidation()` — _deprecated since 1.1.0_\n\nRetained for backward compatibility; delegates to the top-level `validatePostalCode`. Kept functional in 2.x; scheduled for removal in 3.0. Prefer the top-level exports in new code.\n\n---\n\n## 🏷️ Types\n\n```typescript\ntype CountryCode = string; // ISO 3166-1 alpha-2 (\"US\") or alpha-3 (\"USA\")\n\ntype AnyCountryCode = CountryCode | (string & {});\n// preserves autocomplete for known codes while accepting runtime-added ones\n\ntype Country = {\n  postalCodePatterns: string[];  // regex strings wrapped in slashes, e.g. \"/^\\\\d{5}$/\"\n  examplePostalCodes: string[];\n  isGenericRegex: boolean;\n  countryName: string;\n  countryCode: AnyCountryCode;\n};\n\n// Shape accepted by configure()\ntype PostalCodeConfig = {\n  countries: {\n    [countryCode: string]: {\n      patterns: string[];   // each entry wrapped in slashes, e.g. \"/^\\\\d{5}$/\"\n      example: string[];\n      country: string;\n      alpha3?: string;      // optional 3-letter uppercase alpha-3 code\n    };\n  };\n};\n```\n\n---\n\n## 🔄 Migration Guide\n\n> **Coming from a different postal-code library?** See [`docs/SWITCHING.md`](./docs/SWITCHING.md) — covers the common one-line equivalents, batch API migration, and the argument-order gotcha that trips most swaps.\n\n### From v1.x → v2.0 (data-shape breaking change)\n\nv2.0 switches to Google's `libaddressinput` dataset and renames the regex field on the `Country` record. The runtime API (`validatePostalCode`, `validatePostalCodes`, `getCountryByCode`, `getAllCountries`) is unchanged — but anything reading `country.postalCodeRegex` directly needs an update.\n\n**Before (v1.x):**\n\n```ts\nconst country = getCountryByCode(\"US\");\nconst regex = new RegExp(country.postalCodeRegex.slice(1, -1));\nregex.test(\"12345\");\n```\n\n**After (v2.0):**\n\n```ts\nconst country = getCountryByCode(\"US\");\nconst ok = country.postalCodePatterns.some((wrapped) =>\n  new RegExp(wrapped.slice(1, -1)).test(\"12345\")\n);\n```\n\nIf you were only calling `validatePostalCode` / `validatePostalCodes`, nothing changes — normalization and return types are identical.\n\n**Also note:**\n- `country.countryName` values follow Google's canonical spelling — e.g. `\"United States\"` (was `\"United States of America\"`), `\"Russia\"` (was `\"Russian Federation\"`). Update any string pins in tests or UI copy.\n- A handful of previously-orphan alpha-3 codes (Åland, Martinique, Réunion, Puerto Rico, etc.) now resolve correctly through `getCountryByCode`.\n\n### From `usePostalCodeValidation` (v1.0.x) → `validatePostalCode` (v1.1.0+)\n\n```js\n// Before\nimport { usePostalCodeValidation } from \"postal-code-checker\";\nconst { validatePostalCode } = usePostalCodeValidation();\n\n// After\nimport { validatePostalCode } from \"postal-code-checker\";\n```\n\nThe `usePostalCodeValidation` name followed React's hook naming convention, which confused non-React users and tripped the `react-hooks/rules-of-hooks` lint rule even though it's not an actual hook. The new direct API works identically in React, Node.js, Vue, Angular, Svelte, or plain JavaScript.\n\n`usePostalCodeValidation` still exists in 2.x and delegates to the new implementation. Scheduled for removal in 3.0.\n\n---\n\n## 🗺️ Roadmap\n\n### ✅ Shipped\n\n- `inferSubdivision()` + `getSubdivisions()` + `hasSubdivisionData()` + `isInSubdivision()` — resolve a postal code to its state/province from Google's `sub_zips` prefixes (24 countries) _(2.3.0)_\n- `getPostalLabel()` — the name a country uses for its postal code, for per-country form labels _(2.3.0)_\n- `exports` map + native `.mjs` ESM build; `NOTICE` data license corrected to CC-BY 4.0 _(2.2.0)_\n- `configure()` + `resetConfig()` — user-supplied country overrides and brand-new countries via a single-place config _(2.1.0)_\n- `format()` — canonical storable form, or `null` if invalid _(2.1.0)_\n- `guessCountries()` — countries whose pattern accepts an input _(2.1.0)_\n- Swap data source to Google `libaddressinput` _(2.0.0)_\n- Reproducible data pipeline — `sync:data` + `sync:check` guard against upstream drift _(2.0.0)_\n- `postalCodePatterns: string[]` — support countries with multiple valid patterns _(2.0.0)_\n- Interactive demo site at [sashiksu.github.io/postal-code-checker](https://sashiksu.github.io/postal-code-checker/) _(2.0.0)_\n- Full ISO 3166-1 coverage (249 countries, zero generic fallbacks) _(2.0.0)_\n- Batch validation (`validatePostalCodes`) _(1.1.0)_\n- Case + whitespace tolerant input _(1.1.0)_\n- ISO 3166-1 alpha-3 support _(1.1.0)_\n- Full unit-test coverage of utility functions _(1.1.0)_\n\n### 🔜 Planned\n\n- `createValidator()` factory for SSR / multi-tenant use cases (if demand shows up)\n- Removal of deprecated `usePostalCodeValidation` _(3.0.0)_\n\n---\n\n## 📊 Data Sources\n\nPostal code patterns, country names, example codes, and subdivision prefixes come from Google's [`libaddressinput`](https://github.com/google/libaddressinput) project, fetched from `https://chromium-i18n.appspot.com/ssl-aggregate-address/data/<CC>`. The same dataset powers address forms in Chromium, Android, and Google Pay. `libaddressinput` licenses its source code under Apache-2.0 and its **data under CC-BY 4.0**; only the data is used here, so CC-BY 4.0 applies.\n\n`scripts/sync-postal-data.ts` regenerates `src/assets/index.ts` from upstream; `npm run sync:check` runs in CI and in `prepublishOnly` to block releases whose on-disk data has drifted from the script's output.\n\nSee [`NOTICE`](./NOTICE) for the upstream CC-BY 4.0 data attribution.\n\nPrior to v2.0.0, data was sourced from the European Central Bank (ECB), retrieved 4 Aug 2024.\n\n---\n\n## 🤝 Contributing\n\nPull requests welcome. See **[`CONTRIBUTING.md`](./CONTRIBUTING.md)** for local setup, the country-data workflow (upstream-first via `libaddressinput`), and maintainer sync steps.\n\nQuick start:\n\n1. Branch from `master`: `git checkout -b feature/<short-desc>` or `bugfix/<short-desc>`.\n2. Add or update tests under `src/__tests__/` for any behavior change.\n3. Follow existing style — `npm run prettier` and `npm run lint` ship configs.\n4. Open a PR targeting `master`.\n\nFound a bug, missing country, or want to propose a feature? Use the [structured issue templates](./.github/ISSUE_TEMPLATE). For security issues, see [`SECURITY.md`](./SECURITY.md).\n\n---\n\n## 📄 License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}