{"_id":"@accountable/jsvat","_rev":"12-c05bb6fbdbda2e8c59fda60e77cbb6bc","name":"@accountable/jsvat","dist-tags":{"latest":"1.3.4"},"versions":{"1.0.1":{"name":"@accountable/jsvat","version":"1.0.1","keywords":["npm","javascript","typescript","esm","cjs","nodejs","commonjs","ecmascript","beginner","example","demonstration"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.0.1","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"2e22eae9d19dd25044c5b55a9ca791fe22254c5f","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.0.1.tgz","fileCount":236,"integrity":"sha512-U7IOJSQY054HodOxYhjDM7oNsBwacwCog9bVIMH8d9gnJTrZPWKdQWuoxd2UrxAXmOLhbljK3i25pGDoGRtlxw==","signatures":[{"sig":"MEUCIQD6q2PYDd+eMsFt7G4G2L+V1cEEKls20OPwt3af04uWRQIgAZN0Ps155dUar1iF226tbF8+oUAH9BTUqE+Y56EtgWs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":138384},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"175d7f21bc5382489dfd65221680004cc48493c8","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"rm -rf ./lib","prepack":"npm run build","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs","semantic-release":"semantic-release"},"_npmUser":{"name":"hossam.accountable","email":"hossam@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"8.19.2","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.12.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.0.1_1691482803713_0.40558365851095735","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@accountable/jsvat","version":"1.1.1","keywords":["npm","javascript","typescript","esm","cjs","nodejs","commonjs","ecmascript","beginner","example","demonstration"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.1.1","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"53cf6081a1e64e8352e7bee8a4d01f9557a826fb","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.1.1.tgz","fileCount":120,"integrity":"sha512-vNg4s4AGuKH1jbvZHL7FkvE46fcebGQKA0F3hZFg8dwomWRfzVZttdLDtLvYGB3pCISS/HOmIRGqkV/76LVYIA==","signatures":[{"sig":"MEQCIBfzGgMv3eqLK/e0YPdTBhu5xSfBMSCgGxAnaA485aueAiA2repKmvTmjvUuVl/3Kxh8v51k96nPvETTuLzvFDHTrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81862},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","exports":{".":{"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"bf4df5f17a3415096f1b60971a0c94e85ae55423","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:cjs","clean":"rm -rf ./lib","prepack":"npm run build","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","semantic-release":"semantic-release"},"_npmUser":{"name":"hossam.accountable","email":"hossam@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"8.19.2","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.12.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.1.1_1691492335966_0.7286026948590607","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@accountable/jsvat","version":"1.2.1","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.2.1","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"e0653c0919f6d6262a512d5944f83127d192ff4e","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.2.1.tgz","fileCount":120,"integrity":"sha512-1hnmlTGHwgKcTojtKQWtMhPRbeb4pShuHzuNZEnYCQc1g9kXi4oDMzpptkX8Oqro1/gIaSEym4/UmE/8byn/UA==","signatures":[{"sig":"MEQCIGYGhOhgEWT2ntBM7+7bkj0MbIfBPDrQQ9e7D/Bk/Nw/AiBOkR8NXUxTaRU2VIthPOKKpzfW6K9gA+218Yez1jwyEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95169},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","exports":{".":{"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"f564847a7b5dc0a85af7d9241d7b6c9183a6b635","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:cjs","clean":"rm -rf ./lib","prepack":"npm run build","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","semantic-release":"semantic-release"},"_npmUser":{"name":"hossam.accountable","email":"hossam@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"8.19.2","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.12.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.2.1_1691494542324_0.2903981295028297","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@accountable/jsvat","version":"1.2.2","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.2.2","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"f773436c005696ef926b458e4338624eac702806","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.2.2.tgz","fileCount":120,"integrity":"sha512-xo9DJxlAuPD1EsTquuXNhns5Nt7+MillUNuNd3nGRLP++DymbpzJLaRVe90rKP0gD0X0R8qcOnsVZeOAMF1ssQ==","signatures":[{"sig":"MEYCIQDegHaUqEa5HWock0n1qRaZUyc482jyNVsvY27dPpoIrwIhAOVMCT3MxrmRRgzLyVi0wfAghwgsM9Qk2KCdjlPJr7eY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95528},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","exports":{".":{"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"2c6653b19b56dd09449849ad5da2e309080afb28","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:cjs","clean":"rm -rf ./lib","prepack":"npm run build","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","semantic-release":"semantic-release"},"_npmUser":{"name":"hossam.accountable","email":"hossam@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"8.19.2","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.12.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.2.2_1691495223465_0.8577164530376922","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@accountable/jsvat","version":"1.3.0","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.3.0","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"cbcc364a59ccbf5b22bd2184dad603d3d915bb43","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.3.0.tgz","fileCount":236,"integrity":"sha512-NycLhKcfU66ItZPVuJKoJEKR5sRLt0J2NPM5BHifo7FF8Jo2FVkLDuuflclOnY1ThNErotYvlwEdOLSWn+SRqw==","signatures":[{"sig":"MEYCIQCc7rVub6dVctEW1E6jr6qFAKZbuXP9GlrZA7/tGAFMLgIhAKTfXJngXTlVqmA+AqqmRc7uVeSgo+3G0gCCv2bYLvN1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160125},"main":"./lib/cjs/index.js","type":"module","types":"./lib/cjs/types/index.d.ts","exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.js"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"1e83b088dbc162e19299bf105809a6a8a985d567","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npx rollup -c rollup.config.js","clean":"rm -rf ./lib","prepack":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"blu.accountable","email":"mokhtar@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"8.19.3","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","tslib":"^2.6.2","rollup":"^3.28.1","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.2","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.3.0_1693220685541_0.7158204274421214","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@accountable/jsvat","version":"1.3.1","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.3.1","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"87aa336f71a90082dc15404163c057c66f4643c1","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.3.1.tgz","fileCount":236,"integrity":"sha512-Mg2VUeur/EXWyw0bKDpvNtYPZpkcVAvdy3J0f34SlpDBk8f7iGP5hG8Oze798xtyw/HjMpdIT/b+4aKjubEMGQ==","signatures":[{"sig":"MEUCIGHsuivi/3guZ0QCsSGtLbFcFlkSn3XKailAZbsop74gAiEA5z7ounWDdx8FkCrA3n91YXlr0K25zlbVIFvkkDeFv8E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160113},"main":"./lib/cjs/index.js","type":"module","types":"./lib/cjs/types/index.d.ts","exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.js"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"195cfda642381a31726a5edc4b82106ab21447ce","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npx rollup -c rollup.config.js","clean":"rm -rf ./lib","prepack":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"hossam.accountable","email":"hossam@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"9.6.7","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","tslib":"^2.6.2","rollup":"^3.28.1","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.2","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.3.1_1712245586627_0.3359111695615917","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@accountable/jsvat","version":"1.3.2","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.3.2","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"7bdb205aebe7e3381cd0bdcfefeda7aa8a857664","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.3.2.tgz","fileCount":236,"integrity":"sha512-Gnh0o1nSgZ7uUy+HYaq+QRnVsfLa+tu+PE+STAbK1qiCoGru7gegFdOjRrjfSd52xSTGQwegUMkdgEE2pAu4QA==","signatures":[{"sig":"MEUCIQDsjPm1ain2Q3ou8yHXJhHmyacAq2AVpBt15N8U4rccJQIgHnhNOA5QwKavJblOj+ZT1fN5VeoJRRK+mIiOs8QwnIQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160113},"main":"./lib/cjs/index.js","type":"module","types":"./lib/cjs/types/index.d.ts","exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.js"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"b6b50cb847b78bf0ebac68978be69d67f8bfaea2","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npx rollup -c rollup.config.js","clean":"rm -rf ./lib","prepack":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"hossam.accountable","email":"hossam@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"9.6.7","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"18.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","tslib":"^2.6.2","rollup":"^3.28.1","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.2","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.3.2_1712246318248_0.4339126324549749","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"@accountable/jsvat","version":"1.3.3","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.3.3","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"0f282ebb49f8bda851f8f137171a6ec211d28565","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.3.3.tgz","fileCount":236,"integrity":"sha512-O9CRqZUjhQbPOb0/Dmx4bVqQ8FDZx9K48Iignls0Wq3/aKrNRtzPN+oG2S5JMllQqf58gkvvkf7ztfrrBQ2oIw==","signatures":[{"sig":"MEYCIQCg3PdOIi0wnwWm48CR8ysuceFGDgTTyN7sY+zRBezRZgIhANsO+mklXbQwjXw3PzU1SN39IMhjrJGpHpTPw19p16eN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160261},"main":"./lib/cjs/index.js","type":"module","types":"./lib/cjs/types/index.d.ts","exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.cjs"}}},"gitHead":"a3334e60eb75fda8da90f584296297e2f1ee41de","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npx rollup -c rollup.config.js","clean":"rm -rf ./lib","prepack":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"blu.accountable","email":"mokhtar@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"10.2.4","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"21.6.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","tslib":"^2.6.2","rollup":"^3.28.1","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.2","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.3.3_1714660494297_0.37198036780455546","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"@accountable/jsvat","version":"1.3.4","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"author":{"name":"accountable.eu"},"license":"MIT","_id":"@accountable/jsvat@1.3.4","maintainers":[{"name":"blu.accountable","email":"mokhtar@accountable.eu"},{"name":"hossam.accountable","email":"hossam@accountable.eu"},{"name":"jzone1994","email":"juan@accountable.eu"}],"homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"dist":{"shasum":"8923a1ed384369bf9ef23677e3e473aa0493a336","tarball":"https://registry.npmjs.org/@accountable/jsvat/-/jsvat-1.3.4.tgz","fileCount":236,"integrity":"sha512-vZjm3AoH8ot2tPcp3wehnz4J3eO+DGb0u1yA06z0kxmppV3jZpT8brZa/mFXF0eWo2EiIn+kwlgSnYQDYxRShw==","signatures":[{"sig":"MEQCIGx42GHw/Xs8QPl6kFE6Stm5EKeKCp8on5OhK/dXbG1GAiBmLHE3wjt3U5cHxZ41SFV6cFbAXOo4ln7xLRNmcODMTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160262},"main":"./lib/cjs/index.cjs","type":"module","types":"./lib/cjs/types/index.d.ts","exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.cjs"}}},"gitHead":"33c5b5a17dd19828ecf11c7e83e6b752b8ef98cb","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npx rollup -c rollup.config.js","clean":"rm -rf ./lib","prepack":"npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"blu.accountable","email":"mokhtar@accountable.eu"},"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"_npmVersion":"10.8.1","description":"Check the validity of the format of a VAT number","directories":{},"_nodeVersion":"22.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.2","tslib":"^2.6.2","rollup":"^3.28.1","ts-node":"^10.9.1","@swc/core":"^1.3.22","@swc/jest":"^0.2.23","typescript":"^4.7.4","@types/jest":"^29.5.3","semantic-release":"^21.0.7","@rollup/plugin-json":"^6.0.0","@rollup/plugin-typescript":"^11.1.2","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsvat_1.3.4_1720535920962_0.05592760904953753","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-08-08T08:20:03.647Z","modified":"2025-10-01T16:22:20.621Z","1.0.1":"2023-08-08T08:20:03.920Z","1.1.1":"2023-08-08T10:58:56.116Z","1.2.1":"2023-08-08T11:35:42.520Z","1.2.2":"2023-08-08T11:47:03.624Z","1.3.0":"2023-08-28T11:04:45.732Z","1.3.1":"2024-04-04T15:46:26.808Z","1.3.2":"2024-04-04T15:58:38.441Z","1.3.3":"2024-05-02T14:34:54.466Z","1.3.4":"2024-07-09T14:38:41.137Z"},"bugs":{"url":"https://github.com/Accountable-SA/accountable-jsvat/issues"},"author":{"name":"accountable.eu"},"license":"MIT","homepage":"https://github.com/Accountable-SA/accountable-jsvat#readme","keywords":["npm","javascript","typescript","vat","vat number","vat number validation","vat number validator","vat number checker","vat number check","vat number format","vat number format validation","vat-number","eu-vat-number","vat-number-validation"],"repository":{"url":"git+https://github.com/Accountable-SA/accountable-jsvat.git","type":"git"},"description":"Check the validity of the format of a VAT number","maintainers":[{"email":"juan@accountable.eu","name":"jzone1994"},{"email":"mokhtar@accountable.eu","name":"blu.accountable"},{"email":"alessandro@accountable.eu","name":"aless.accountable"},{"email":"jules@accountable.eu","name":"julesalbert"}],"readme":"<h1><p align=\"center\">@accountable/jsvat</p></h1>\n\n<p align=\"center\">Check the validity of the format of a VAT number. No dependencies</p>\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@accountable/jsvat\">\n    <img src=\"https://img.shields.io/npm/v/@accountable/jsvat.svg?style=flat-square&amp;logo=npm\" alt=\"npm\">\n  </a>\n  <a href=\"http://makeapullrequest.com\">\n    <img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"PRs Welcome\">\n  </a>\n  <a href=\"https://github.com/@accountable/jsvat/blob/master/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\" alt=\"GitHub license\">\n  </a>\n</p>\n\n## Disclaimer\n\nThis library is a fork of [jsvat](https://github.com/se-panfilov/jsvat) which in no longer maintained and all new pull requests to it are ignored for long time.\n\nSo in [Accountable](https://www.accountable.eu/), we thought it would be great to add support for the new VAT number format and keep the library up to date and easily maintained as it is part of our day to day work.\n\n## What is it?\n\nSmall library to check validity VAT numbers (European + some others counties). ([learn more][1] about VAT)\n\n- Rewritten into Typescript :new:\n- No dependencies\n- No http calls\n- 2-step checks: math + regexp\n- Tree-shakeable\n- Extendable\n- Separate checks for valid VAT and valid VAT format\n- Dynamically add/remove countries with which you want to check the VAT\n- Detecting possible country before you finish\n- Typescript\n\n## Installation\n\nvia **npm**:\n\n```bash\nnpm i @accountable/jsvat\n```\n\nvia **yarn**:\n\n```bash\nyarn add @accountable/jsvat\n```\n\n## Getting Started\n\n- check against specific countries\n\n```javascript\nimport { checkVAT, belgium, austria } from '@accountable/jsvat';\n\ncheckVAT('BE0411905847', [belgium]); // true: accept only Belgium VATs\ncheckVAT('BE0411905847', [belgium, austria]); // true: accept only Belgium or Austria VATs\ncheckVAT('BE0411905847', [austria]); // false: accept only Austria VATs\n```\n\n- check against all supported countries\n\n```javascript\nimport { checkVAT } from '@accountable/jsvat';\n\ncheckVAT('BE0411905847'); // no need to pass countries as all supported countries will be used as default behavior\n```\n\n- check against all supported countries except specific ones\n\n```javascript\nimport { checkVAT, countriesMap } from '@accountable/jsvat';\n\nconst { france, germany, ...countriesToValidate } = countriesMap;\n\ncheckVAT('BE0411905847', countriesToValidate);\n```\n\n## Return value\n\n`checkVAT()` returns `VatCheckResult` object:\n\n```typescript\nexport interface VatCheckResult {\n  value?: string; // 'BE0411905847': your VAT without extra characters (like '-', spaces, etc)\n  isValid: boolean; // The main result. Indicates if VAT is correct against provided countries or not\n  isValidFormat: boolean; // Indicates the validation of the format of VAT only. E.g. \"BE0411905847\" is a valid VAT, and \"BE0897221791\" is not. But they both has valid format, so \"isValidFormat\" will return \"true\"\n  isSupportedCountry: boolean; // Indicates if \"jsvat\" could recognize the VAT. Sometimes you want to understand - if it's an invalid VAT from supported country or from an unknown one\n  country?: {\n    // VAT's country (null if not found). By \"supported\" I mean imported.\n    name: string; // ISO country name of VAT\n    isoCode: {\n      // Country ISO codes\n      short: string;\n      long: string;\n      numeric: string;\n    };\n  };\n}\n```\n\n## List of supported Countries:\n\n- 🇦🇩 Andorra\n- 🇦🇹 Austria\n- 🇧🇪 Belgium\n- 🇧🇷 Brazil\n- 🇧🇬 Bulgaria\n- 🇭🇷 Croatia\n- 🇨🇾 Cyprus\n- 🇨🇿 Czech republic\n- 🇩🇰 Denmark\n- 🇪🇪 Estonia\n- 🇪🇺 Europe\n- 🇫🇮 Finland\n- 🇫🇷 France\n- 🇩🇪 Germany\n- 🇬🇷 Greece\n- 🇭🇺 Hungary\n- 🇮🇪 Ireland\n- 🇮🇹 Italy\n- 🇱🇻 Latvia\n- 🇱🇹 Lithuania\n- 🇱🇺 Luxembourg\n- 🇲🇹 Malta\n- 🇳🇱 Netherlands\n- 🇳🇴 Norway\n- 🇵🇱 Poland\n- 🇵🇹 Portugal\n- 🇷🇴 Romania\n- 🇷🇺 Russia\n- 🇷🇸 Serbia\n- 🇸🇰 Slovakia Republic\n- 🇸🇮 Slovenia\n- 🇪🇸 Spain\n- 🇸🇪 Sweden\n- 🇬🇧 United Kingdom\n- 🇨🇭 Switzerland\n\n## Extend countries list - add your own country\n\nYou can add your own country.\nIn general `Country` should implement following structure:\n\n```typescript\ninterface Country {\n  name: string;\n  codes: ReadonlyArray<string>;\n  rules: {\n    multipliers: {}; // you can leave it empty\n    regex: ReadonlyArray<RegExp>;\n  };\n} & ({\n    calcFn: (vat: string, options?: object) => boolean; // use this if you want to check only format of VAT\n  } | {\n    calcWithFormatFn: (vat: string, options?: object) => {isValid: boolean, vat: string}; // use this if you want to check format of VAT and re-format it\n  })\n```\n\nExample:\n\n```javascript\nimport { checkVAT } from '@accountable/jsvat';\n\nexport const wonderland = {\n  name: 'Wonderland',\n  codes: ['WD', 'WDR', '999'], // This codes should follow ISO standards (short, long and numeric), but it's your own business\n  calcFn: (vat) => {\n    return vat.length === 10;\n  },\n  rules: {\n    regex: [/^(WD)(\\d{8})$/],\n  },\n};\n\ncheckVAT('WD12345678', [wonderland]); // true\n```\n\n## About modules... ES6 / CommonJS\n\njsvat build includes `es6`, `commonjs`, `amd`, `umd` and `system` builds at the same time.\n\nBy default you will stick to `es6` version for browsers and build tools (webpack, etc):\nwhich expects you to import it as\n\n```javascript\nimport { checkVAT, belgium, austria } from '@accountable/jsvat';\n```\n\nNode.js automatically will pick up `CommonJS` version by default.\nMeans you could import it like:\n\n```jsx harmony\n// Modern Frontend and Node\nconst { checkVAT, belgium, austria } = require('@accountable/jsvat');\n\n// Node.js\nconst { checkVAT, belgium, austria } = require('@accountable/jsvat');\n\n// Legacy Frontend\n<script src='whatever/jsvat/lib/umd/index.js'></script>;\n```\n\nAlternatively you can specify which module system you do want, e.g.:\n\n```jsx harmony\n// CommonJS (i.g nodejs)\nconst { checkVAT, belgium, austria } = require('jsvat/lib/commonjs');\n\n// ES6\nimport { checkVAT, belgium, austria } from 'jsvat/lib/es6';\n```\n\n## How `@accountable/jsvat` checks validity?\n\nThere is 2-step check:\n\n1. Compare with list of Regexps;\n\nFor example regexp for austria is `/^(AT)U(\\d{8})$/`.\n\nLooks like `ATU99999999` is valid (it's satisfy the regexp), but actually it's should be invalid.\n\n2. Some magic mathematical counting;\n\nHere we make some mathematical calculation (different for each country).\nAfter that we may be sure that `ATU99999999`and for example `ATV66889218` isn't valid, but `ATU12011204` is valid.\n\n**Note:** VAT numbers of some countries should ends up with special characters. Like '01' for Sweden or \"L\" for Cyprus. If 100% real VAT doesn't fit, try to add proper appendix.\n\n[1]: https://en.wikipedia.org/wiki/VAT_identification_number\n","readmeFilename":"README.md"}