{"_id":"nusantara-valid","_rev":"7-8e0676bd609eaccc553cf474442a0875","name":"nusantara-valid","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"nusantara-valid","version":"0.1.0","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"author":{"url":"https://magicjar.github.io","name":"Fajar Setya Budi"},"license":"MIT","_id":"nusantara-valid@0.1.0","maintainers":[{"name":"magicjar","email":"fajarsetya@live.com"}],"homepage":"https://github.com/magicjar/nusantara-valid#readme","bugs":{"url":"https://github.com/magicjar/nusantara-valid/issues"},"dist":{"shasum":"d426cd608ae04cf2e4580fb57ce9617022ef2b0b","tarball":"https://registry.npmjs.org/nusantara-valid/-/nusantara-valid-0.1.0.tgz","fileCount":54,"integrity":"sha512-D8x/7ZGZzQawA1iC7JRejhOQNdURX6MEMdiBz25okH3pFUVhep3RljUA/4wQgzXNy+wtZJ7vyIiNmTh1sjBXzw==","signatures":[{"sig":"MEYCIQC7daOLsTfK1YxMPQqW7jcSbNjb6ooKAsZxv8SC+aXwvgIhAMQ0/7g86HWY0ZXIe15wXN90aRpKbWK6OrePrbZbNEMK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":307955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+cEkCRA9TVsSAnZWagAAmo4QAIhHs9R+f/LtkEkh1OVU\n2ozd960+KgQT8FMbT+6Xe369oDnlpFroEVUFcRnvaa/1zx4L79SuNw4Wy9BI\nSicmbfJwLS+xIBLzV1cWIPVHJ8CLjylPl2tBHBUNQyfPLlui1vh9I2lDMa9s\nu43EF0Iw4Xe4YxD/c/Ja5mBjJayncxis66k5Ob0iC6w0SSV698UUIJwrZRHo\n6BvHCCD8mf94qQyMwhwfhyZlziQXLEW5zRa4qxoAfzDtsjhsBc6900T4eYq+\n2rVAz4zvhCT3Z2HWHQ+mN/my8Y9MuacdrbC9cgF9wiPHndZJMDbSNL5XnDrs\n9XmAs5xv1wqsPZg1bEJkbm3VUnqBpY9gQSM1hHp71QtOCNm2Y05VCzlGl/6r\nrvkvouzsdBF871KWQKMSIIAzCWhDlTLa6QPf5huEoFBCMVuv1XM1w2aYsF41\njRh1bvZG970gRC80UEGZfHq7IUgz/Zyucl2mzsAhbDBZDYjtyOMmFoTibG3b\n1RwNYOeBhaj8XS/v66fEkP8g5KEzijJU87Tu/F/FWws64IpFuL/uEhx77bzQ\nCMYaQ95/wibXu+KgASRXGi3+ZOuJ2TEBXiJmacggaJCKccWxmpyakIlyKSx3\nC98bPMWYSRG+tUFdzjV4RsLzIa5yx+JoAJXhXTezgNYBuYi6WqEwoPzmXwOv\n+C2f\r\n=v+Vv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/nusantara-valid.js","gitHead":"e2a2bf8e9bb1a0245137d5ad721d008ce4295c80","scripts":{"test":"mocha --require ts-node/register **/*.test.ts","clean":"shx rm -rf dist","compile":"npm-run-all --sequential clean compile:js","compile:js":"rollup --config rollup.config.js --sourcemap"},"_npmUser":{"name":"magicjar","email":"fajarsetya@live.com"},"repository":{"url":"git+https://github.com/magicjar/nusantara-valid.git","type":"git"},"_npmVersion":"6.14.5","description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","directories":{},"_nodeVersion":"14.3.0","_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.2","chai":"^4.2.0","mocha":"^7.2.0","tslib":"^2.0.0","rollup":"^2.18.1","ts-node":"^8.10.2","typescript":"^3.9.5","@babel/core":"^7.10.3","@types/chai":"^4.2.11","npm-run-all":"^4.1.5","@types/mocha":"^7.0.2","@babel/preset-env":"^7.10.3","@rollup/plugin-babel":"^5.0.4","rollup-plugin-terser":"^6.1.0","@rollup/plugin-typescript":"^5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/nusantara-valid_0.1.0_1593426211525_0.9164546280041708","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"nusantara-valid","version":"0.2.0","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"author":{"url":"https://magicjar.github.io","name":"Fajar Setya Budi"},"license":"MIT","_id":"nusantara-valid@0.2.0","maintainers":[{"name":"magicjar","email":"fajarsetya@live.com"}],"homepage":"https://github.com/magicjar/nusantara-valid#readme","bugs":{"url":"https://github.com/magicjar/nusantara-valid/issues"},"dist":{"shasum":"48b8befdd7d241695eea2454fa3ba615bbfdd9cc","tarball":"https://registry.npmjs.org/nusantara-valid/-/nusantara-valid-0.2.0.tgz","fileCount":53,"integrity":"sha512-R/lNMvD0hvuoQmCu5qSHdxyQVBnALnvsYpQCVc+YKi+whKV42Hu86GOsNCQLe0R2RRoMwC3NQRxyVtdUhMJhcg==","signatures":[{"sig":"MEUCIDNLNY78UzN5/zQrvHrwxAxBAo4jSbqqSK8nubGb3EvQAiEAo/8tFt5NQo46NhIFu6e/j3dwpmUKdynM50AcDopNv9I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":472705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfD60KCRA9TVsSAnZWagAAa4EP/20LrISdsZbohwhNNLDx\ny8tnWbzYGcTT3IDVuPOYEtEJR9PziQGzFg8PhYnfbQS0KCTfM6q6GSK8dfoR\nwhUOAPRGAWtoswOp/qAtq9eMIOrj/JQCUBE2+Cbuw4rprGtK1MV1mjjJRmTM\n9zJ0bNEvvoyrZitELN1r023ouXA4dz1Tk9naSha340vPdcp4uyY5Oa36fvGJ\nyTeMPEjDkhF8p/sPooGaEnVLYzG42uabahStfqP24ddWU94JifmOsg1xoMZ7\nWtIg4dG2+Pt+jesUbIMIz9+1tNJJBtOeJq5zdQLdHCm1KUbQBR1BRVLFbYJY\nLc07Qy5P2+6hM9fKjo/4Fd8FYt4WEER+i8DS35ZRLiVu3w4pm2bmAaorsgBa\nKBBFuvpGJrQtroIwdoquvGYsQJaxXGo0KR2v2taRozZLrDefUB0hiVARoEJe\n4RiuSQ/wqwTeUtB1w3CWHde2HdcZsN4vZJCpoxL7boQi5XKNcO/px49cPgG+\n63FvRXi1aFJfLCM4ZUPLFW2lFGLoLeQfJDuigC77b/HRovanmbN8z1thlaai\nQlgB1AWjSOf7JIxPmrIwLIFNUY3/c1ekoIONkuSWoYkZOJFrE+2MYLa1T416\nwWtIBR57vIctoZNbVHXoTXxLAy3IaHk+3LEiFzckRWtOC7o5hf41BFvJeiuH\nUEQ9\r\n=RCvB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/nusantara-valid.js","gitHead":"c9bfa10d98e65f5a0dca202049de64d9142c40f6","scripts":{"test":"mocha --require ts-node/register src/test/*","clean":"shx rm -rf dist","serve":"http-server --silent -p 3000","minify":"npm-run-all --parallel minify:*","compile":"npm-run-all clean --parallel compile:*","minify:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/esm/nusantara-valid.min.js dist/esm/nusantara-valid.js","compile:es":"rollup --environment FORMAT:esm --config rollup.config.js --sourcemap","minify:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/cjs/nusantara-valid.min.js dist/cjs/nusantara-valid.js","minify:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/umd/nusantara-valid.min.js dist/umd/nusantara-valid.js","compile:cjs":"rollup --environment FORMAT:cjs --config rollup.config.js --sourcemap","compile:umd":"rollup --environment FORMAT:umd --config rollup.config.js --sourcemap","pre-release":"npm-run-all compile minify"},"_npmUser":{"name":"magicjar","email":"fajarsetya@live.com"},"repository":{"url":"git+https://github.com/magicjar/nusantara-valid.git","type":"git"},"_npmVersion":"6.14.5","description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","directories":{},"_nodeVersion":"14.3.0","_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.2","chai":"^4.2.0","mocha":"^7.2.0","tslib":"^2.0.0","rollup":"^2.18.1","terser":"^4.8.0","ts-node":"^8.10.2","typescript":"^3.9.5","@babel/core":"^7.10.3","@types/chai":"^4.2.11","http-server":"^0.12.3","npm-run-all":"^4.1.5","@types/mocha":"^7.0.2","@babel/preset-env":"^7.10.3","@rollup/plugin-babel":"^5.0.4","@rollup/plugin-typescript":"^5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/nusantara-valid_0.2.0_1594862858014_0.7013065488400685","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"nusantara-valid","version":"0.3.0","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"author":{"url":"https://magicjar.github.io","name":"Fajar Setya Budi"},"license":"MIT","_id":"nusantara-valid@0.3.0","maintainers":[{"name":"agraris-o","email":"agrarisentertainment@gmail.com"},{"name":"magicjar","email":"fajarsetya@live.com"}],"homepage":"https://github.com/agraris/nusantara-valid#readme","bugs":{"url":"https://github.com/agraris/nusantara-valid/issues"},"dist":{"shasum":"3d1a362fa7984d97d740ece53c87bc3f02f874e1","tarball":"https://registry.npmjs.org/nusantara-valid/-/nusantara-valid-0.3.0.tgz","fileCount":70,"integrity":"sha512-K+UovaakHnYNb5XAQ3BrO85w3h3rvjgiT0tLemXCyHfCtB8yfF50t/Z4iNLaHirczp7EGW0AsX8ItwYeniRKRw==","signatures":[{"sig":"MEYCIQDFh5jjIOlzBohCFgqRAfgiaY105u/jnhmyyj9mre5DJgIhAOM7+21iNIvWnsJhnDuftUxgZXk/RZYfSaorI8hoFXgG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6150474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI0OdCRA9TVsSAnZWagAAk3gQAI2pvCHXg+ABXhtKn73T\nSvCezi6J7sokg5udP5yYcaMcwZDniavp2V7BMfge7JRYzqdzn2ypD79OaAzm\nooUYTZC0FENiSQn48H1borC/vgvK0CmG5lqoVo11jIJUnBY7ec0NJOHDuTtl\nzcHOxVm6T04TtF0xvRXD3y+b4ffS72bAzLhjvfwdp2ACRQNuL0KKM1sZ4lgL\nfDdDk7Am0VRD57k1L2X0tELIl5K+NdXudR5PM4VUMfvXgxv4cMQOsvdbEry1\n1lbVSqgHmNCw8X2iy2/bUeEGIndFwn8IIaqyeu44zSxJMH8Z+UjLYnS2qvpQ\n9g9QjtqVOvAfO/tdnWMl0ymH4H5D2pdDKv27A2wHdATLR25um0/MitdvfXMk\neqwjLwNq51F5m/t+2HiQQ0fr03DVo2gOyryMYjBzP0YcH8fxpxOHQ0+Najgc\nwGDGflx0ScPJAwueJu77kZZeeVgX1OXFxaZ9C/L5uKKLNIhjHlA6d33TuqxG\nEjcm1wKV2qXF5p2zabDAfjsqCBXUrUAkaoKKvk+bb9Snyvk2gFGQ0Fjl35Xp\nrTtPWgH1yCtD+zw8dl3k2ois2xOGuK0oNTH3jRjajtDmkWbxiFeiVP6HgBSI\nmtFIf2KsWMHZvrwxL9sCVOfk/qg15wYtdqDZ6vE6k2dnXeZWjgWBTnaml0hc\nDBDc\r\n=YDB9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/nusantara-valid.js","gitHead":"123a3844d26dcbdfff0ef1cadbe556ee8aee4bfb","scripts":{"test":"mocha --require ts-node/register src/test/**","clean":"shx rm -rf dist","minify":"npm-run-all --parallel minify:*","compile":"npm-run-all --parallel compile:*","minify:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/esm/nusantara-valid.min.js dist/esm/nusantara-valid.js","compile:es":"rollup --config --environment FORMAT:esm","minify-all":"npm-run-all --parallel minify minify-ext","minify-ext":"npm-run-all --parallel minify-ext:*","minify:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/cjs/nusantara-valid.min.js dist/cjs/nusantara-valid.js","minify:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/umd/nusantara-valid.min.js dist/umd/nusantara-valid.js","compile-all":"npm-run-all --parallel compile compile-ext","compile-ext":"npm-run-all --parallel compile-ext:*","compile:cjs":"rollup --config --environment FORMAT:cjs","compile:umd":"rollup --config","pre-release":"npm-run-all clean compile-all minify-all","minify-ext:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/esm/nusantara-valid.extended.min.js dist/esm/nusantara-valid.extended.js","compile-ext:es":"rollup --config --environment FORMAT:esm,EXTENDED:true","minify-ext:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/cjs/nusantara-valid.extended.min.js dist/cjs/nusantara-valid.extended.js","minify-ext:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/umd/nusantara-valid.extended.min.js dist/umd/nusantara-valid.extended.js","compile-ext:cjs":"rollup --config --environment FORMAT:cjs,EXTENDED:true","compile-ext:umd":"rollup --config --environment EXTENDED:true"},"_npmUser":{"name":"magicjar","email":"fajarsetya@live.com"},"repository":{"url":"git+https://github.com/agraris/nusantara-valid.git","type":"git"},"_npmVersion":"6.14.5","description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","directories":{},"_nodeVersion":"14.3.0","_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.2","chai":"^4.2.0","mocha":"^7.2.0","tslib":"^2.0.0","rollup":"^2.21.0","terser":"^4.8.0","ts-node":"^8.10.2","typescript":"^3.9.6","@babel/core":"^7.10.5","@types/chai":"^4.2.11","npm-run-all":"^4.1.5","@types/mocha":"^7.0.2","@babel/preset-env":"^7.10.4","@rollup/plugin-babel":"^5.1.0","@rollup/plugin-typescript":"^5.0.2"},"_npmOperationalInternal":{"tmp":"tmp/nusantara-valid_0.3.0_1596146588439_0.6445411286617677","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"nusantara-valid","version":"0.4.0","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"author":{"url":"https://magicjar.github.io","name":"Fajar Setya Budi"},"license":"MIT","_id":"nusantara-valid@0.4.0","maintainers":[{"name":"agraris-o","email":"agrarisentertainment@gmail.com"},{"name":"magicjar","email":"fajarsetya@live.com"}],"homepage":"https://github.com/agraris/nusantara-valid#readme","bugs":{"url":"https://github.com/agraris/nusantara-valid/issues"},"dist":{"shasum":"1991daaa2f43011ff34eda8982da87ae1e669a5b","tarball":"https://registry.npmjs.org/nusantara-valid/-/nusantara-valid-0.4.0.tgz","fileCount":70,"integrity":"sha512-HxfvHy9KbpA0p4h7TfVX1YC8D2cXXCbR8ecG/NykukN8BBJIDy/Lq8nMDSP/TuGhgjgss69GXCjcjZSu7ykU7Q==","signatures":[{"sig":"MEUCICut74jhQzGSMtqd79SS9u/+oRq1HL9wToSrWPmGFzdgAiEA7wEj533KGd5c/I9i4PtBmQpSKs3r2o9VqmOxYNAZLLM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6153944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQGiKCRA9TVsSAnZWagAAkDEP/0u80AukH47v4TTYxrWm\nqgXwN11p3bTOTX6fWvtBrJiESp+B5YHODtVdeYgvsMqVvkMaTjEthQFR5xK0\nwoamvOaUzGyd3koSmZrVSnVji0QP0Pm+RuC8wGEkTU06g+78UCEyQyhqq/IS\nZfWjH3DYsoTsBZXzEbH2NP39k3B5sl9subvFQWGkaMI5oz2DOW81t8IGXIJr\n7CMCi5jccXaqe4RuZeLHy6drUrAD+NDpaJk2sD6EtvMUDuGjYng615KyPu1q\nHlEnUQgN6FOeZELLzBgCr0RRmjS4mcbGgYq8L7Nk1c9jsCG80bpU5k960qCA\nAbX6CLOR4xnpbaXrtbFy0RGFbK9eDCChmYoGgsWhT7uyZyLeYT3TBwqq40jN\nH3Gmv/GBj309kcDTO9XbXww2JvmgyaFBfvoorwOac6LeDRH+gGmd33ompzWx\n5en1tq3NRj+zmE+2nlJWG5i6AHQj9xyC9b/YdcOQDdykvT2nKBRo+rphO77I\n3kYWx9Cj3z7+56PX0i54gyLug1BqYgHm8l1eKYJbdg3ODtnrFaqc9QEQkjew\nEY6wJKPLR+0DiDuud/PG6QYbDsEwp2yJAMikTQbVudOhpDemFPnPoOCf2IQm\n4Rz5A+FYRk/siWBy2megFiqVqZ5ZQkDOvYVFws88eJFnAWuhfoO1Yx3l4PL1\neUrS\r\n=nYwl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/nusantara-valid.js","gitHead":"4aa0424b046d18cbe21bd60f7dea73a2dfb7afcd","scripts":{"lint":"eslint --ext .ts,.tsx --cache --cache-location .cache/.eslintcache --report-unused-disable-directives src/ts","test":"nyc --reporter=lcov --reporter=text --clean mocha --require ts-node/register src/test/**/*","clean":"shx rm -rf dist","watch":"nodemon --watch src/ --ext ts --exec \"npm-run-all test lint\"","minify":"npm-run-all --parallel minify:*","compile":"npm-run-all --parallel compile:*","minify:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/esm/nusantara-valid.min.js dist/esm/nusantara-valid.js","compile:es":"rollup --config --environment FORMAT:esm","minify-all":"npm-run-all --parallel minify minify-ext","minify-ext":"npm-run-all --parallel minify-ext:*","minify:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/cjs/nusantara-valid.min.js dist/cjs/nusantara-valid.js","minify:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/umd/nusantara-valid.min.js dist/umd/nusantara-valid.js","compile-all":"npm-run-all --parallel compile compile-ext","compile-ext":"npm-run-all --parallel compile-ext:*","compile:cjs":"rollup --config --environment FORMAT:cjs","compile:umd":"rollup --config","pre-release":"npm-run-all clean compile-all minify-all","minify-ext:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/esm/nusantara-valid.extended.min.js dist/esm/nusantara-valid.extended.js","compile-ext:es":"rollup --config --environment FORMAT:esm,EXTENDED:true","minify-ext:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/cjs/nusantara-valid.extended.min.js dist/cjs/nusantara-valid.extended.js","minify-ext:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/umd/nusantara-valid.extended.min.js dist/umd/nusantara-valid.extended.js","compile-ext:cjs":"rollup --config --environment FORMAT:cjs,EXTENDED:true","compile-ext:umd":"rollup --config --environment EXTENDED:true"},"_npmUser":{"name":"magicjar","email":"fajarsetya@live.com"},"repository":{"url":"git+https://github.com/agraris/nusantara-valid.git","type":"git"},"_npmVersion":"7.4.0","description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","directories":{},"_nodeVersion":"15.6.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","shx":"^0.3.2","chai":"^4.2.0","mocha":"^7.2.0","tslib":"^2.0.0","eslint":"^7.6.0","rollup":"^2.23.0","terser":"^4.8.0","nodemon":"^2.0.4","ts-node":"^8.10.2","typescript":"^3.9.7","@babel/core":"^7.11.0","@types/chai":"^4.2.12","npm-run-all":"^4.1.5","@types/mocha":"^7.0.2","@babel/preset-env":"^7.11.0","@rollup/plugin-babel":"^5.1.0","@rollup/plugin-typescript":"^5.0.2","@typescript-eslint/parser":"^3.8.0","@typescript-eslint/eslint-plugin":"^3.8.0"},"_npmOperationalInternal":{"tmp":"tmp/nusantara-valid_0.4.0_1614833802022_0.8647848181023017","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"nusantara-valid","version":"0.4.1","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"author":{"url":"https://magicjar.github.io","name":"Fajar Setya Budi"},"license":"MIT","_id":"nusantara-valid@0.4.1","maintainers":[{"name":"agraris-o","email":"agrarisentertainment@gmail.com"},{"name":"magicjar","email":"fajarsetya@live.com"}],"homepage":"https://github.com/agraris/nusantara-valid#readme","bugs":{"url":"https://github.com/agraris/nusantara-valid/issues"},"dist":{"shasum":"e2b749bf220b42251dc343f252bc75364cbf6d5c","tarball":"https://registry.npmjs.org/nusantara-valid/-/nusantara-valid-0.4.1.tgz","fileCount":70,"integrity":"sha512-X5OScn3KrJlVSKtaHNqSyoWxzb9l0RcVwwZ0rQ/TaEO5794CUHF1+UCvrt8VX60kAaeSdlfbfK2dOLafIDzkzg==","signatures":[{"sig":"MEUCIQDVjWP7seAuAngTh62t3V9Dqk1BygIxtfEmjjd8pIYRFwIgOmad0pPraqVWs8kCnyr2LvrnU6OBoGJxjFKiejExsSc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6154803},"main":"dist/umd/nusantara-valid.js","gitHead":"faf21d578f58588c62c707d8d22b3cfa1d27ac2e","scripts":{"lint":"eslint --ext .ts,.tsx --cache --cache-location .cache/.eslintcache --report-unused-disable-directives src/ts","test":"nyc --reporter=lcov --reporter=text --clean mocha --require ts-node/register src/test/**/*","clean":"shx rm -rf dist","watch":"nodemon --watch src/ --ext ts --exec \"npm-run-all test lint\"","minify":"npm-run-all --parallel minify:*","compile":"npm-run-all --parallel compile:*","minify:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/esm/nusantara-valid.min.js dist/esm/nusantara-valid.js","compile:es":"rollup --config --environment FORMAT:esm","minify-all":"npm-run-all --parallel minify minify-ext","minify-ext":"npm-run-all --parallel minify-ext:*","minify:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/cjs/nusantara-valid.min.js dist/cjs/nusantara-valid.js","minify:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/umd/nusantara-valid.min.js dist/umd/nusantara-valid.js","compile-all":"npm-run-all --parallel compile compile-ext","compile-ext":"npm-run-all --parallel compile-ext:*","compile:cjs":"rollup --config --environment FORMAT:cjs","compile:umd":"rollup --config","pre-release":"npm-run-all clean compile-all minify-all","minify-ext:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/esm/nusantara-valid.extended.min.js dist/esm/nusantara-valid.extended.js","compile-ext:es":"rollup --config --environment FORMAT:esm,EXTENDED:true","minify-ext:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/cjs/nusantara-valid.extended.min.js dist/cjs/nusantara-valid.extended.js","minify-ext:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/umd/nusantara-valid.extended.min.js dist/umd/nusantara-valid.extended.js","compile-ext:cjs":"rollup --config --environment FORMAT:cjs,EXTENDED:true","compile-ext:umd":"rollup --config --environment EXTENDED:true"},"_npmUser":{"name":"magicjar","email":"fajarsetya@live.com"},"repository":{"url":"git+https://github.com/agraris/nusantara-valid.git","type":"git"},"_npmVersion":"9.5.0","description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","shx":"^0.3.2","chai":"^4.2.0","mocha":"^7.2.0","tslib":"^2.0.0","eslint":"^7.6.0","rollup":"^2.23.0","terser":"^4.8.0","nodemon":"^2.0.4","ts-node":"^8.10.2","typescript":"^3.9.7","@babel/core":"^7.11.0","@types/chai":"^4.2.12","npm-run-all":"^4.1.5","@types/mocha":"^7.0.2","@babel/preset-env":"^7.11.0","@rollup/plugin-babel":"^5.1.0","@rollup/plugin-typescript":"^5.0.2","@typescript-eslint/parser":"^3.8.0","@typescript-eslint/eslint-plugin":"^3.8.0"},"_npmOperationalInternal":{"tmp":"tmp/nusantara-valid_0.4.1_1708994712756_0.3228932713587611","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"nusantara-valid","version":"0.4.2","description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","author":{"name":"Fajar Setya Budi","url":"https://magicjar.github.io"},"license":"MIT","main":"dist/umd/nusantara-valid.js","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"repository":{"type":"git","url":"git+https://github.com/agraris/nusantara-valid.git"},"bugs":{"url":"https://github.com/agraris/nusantara-valid/issues"},"scripts":{"clean":"shx rm -rf dist","compile-all":"npm-run-all --parallel compile compile-ext","compile":"npm-run-all --parallel compile:*","compile:cjs":"rollup --config --environment FORMAT:cjs","compile:es":"rollup --config --environment FORMAT:esm","compile:umd":"rollup --config","compile-ext":"npm-run-all --parallel compile-ext:*","compile-ext:cjs":"rollup --config --environment FORMAT:cjs,EXTENDED:true","compile-ext:es":"rollup --config --environment FORMAT:esm,EXTENDED:true","compile-ext:umd":"rollup --config --environment EXTENDED:true","lint":"eslint --ext .ts,.tsx --cache --cache-location .cache/.eslintcache --report-unused-disable-directives src/ts","minify-all":"npm-run-all --parallel minify minify-ext","minify":"npm-run-all --parallel minify:*","minify:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/cjs/nusantara-valid.min.js dist/cjs/nusantara-valid.js","minify:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/esm/nusantara-valid.min.js dist/esm/nusantara-valid.js","minify:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.js.map, includeSources, url=nusantara-valid.min.js.map\" --output dist/umd/nusantara-valid.min.js dist/umd/nusantara-valid.js","minify-ext":"npm-run-all --parallel minify-ext:*","minify-ext:cjs":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/cjs/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/cjs/nusantara-valid.extended.min.js dist/cjs/nusantara-valid.extended.js","minify-ext:es":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/esm/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/esm/nusantara-valid.extended.min.js dist/esm/nusantara-valid.extended.js","minify-ext:umd":"terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/umd/nusantara-valid.extended.js.map, includeSources, url=nusantara-valid.extended.min.js.map\" --output dist/umd/nusantara-valid.extended.min.js dist/umd/nusantara-valid.extended.js","pre-release":"npm-run-all clean compile-all minify-all","test":"nyc --reporter=lcov --reporter=text --clean mocha --require ts-node/register src/test/**/*","watch":"nodemon --watch src/ --ext ts --exec \"npm-run-all test lint\""},"devDependencies":{"@babel/core":"^7.25.8","@babel/preset-env":"^7.25.8","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-typescript":"^5.0.2","@types/chai":"^4.3.20","@types/mocha":"^7.0.2","@typescript-eslint/eslint-plugin":"^3.10.1","@typescript-eslint/parser":"^3.10.1","chai":"^4.5.0","eslint":"^7.32.0","mocha":"^7.2.0","nodemon":"^2.0.22","npm-run-all":"^4.1.5","nyc":"^15.1.0","rollup":"^2.79.2","shx":"^0.3.4","terser":"^4.8.1","ts-node":"^8.10.2","tslib":"^2.7.0","typescript":"^3.9.10"},"gitHead":"7b49d03392d80ffa09e4776d28a2acad3a821236","homepage":"https://github.com/agraris/nusantara-valid#readme","_id":"nusantara-valid@0.4.2","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-zsKeH+Vi4RReuVqhxNtg59pfk00JVDJA0lZjMR4yWpJJdR2k+N1XNCwPzynnUYYxpZ9cqRL9xonv3T+2F+Q6CQ==","shasum":"fdee3ca73d78356f02d25637411d6dca340f22de","tarball":"https://registry.npmjs.org/nusantara-valid/-/nusantara-valid-0.4.2.tgz","fileCount":70,"unpackedSize":6341903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkRZcApy5iH59PqCEfwR6zA7bx/LOz111/j5kadgD5DgIgJAMJypfPuPxd48xnFYgjccJxKEiirXzn9B0BwnL+DfE="}]},"_npmUser":{"name":"magicjar","email":"fajarsetya@live.com"},"directories":{},"maintainers":[{"name":"agraris-o","email":"agrarisentertainment@gmail.com"},{"name":"magicjar","email":"fajarsetya@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nusantara-valid_0.4.2_1728890612869_0.2834669599307391"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-29T10:23:31.524Z","modified":"2024-10-14T07:23:33.218Z","0.1.0":"2020-06-29T10:23:31.702Z","0.2.0":"2020-07-16T01:27:38.186Z","0.3.0":"2020-07-30T22:03:08.629Z","0.4.0":"2021-03-04T04:56:42.193Z","0.4.1":"2024-02-27T00:45:12.986Z","0.4.2":"2024-10-14T07:23:33.039Z"},"bugs":{"url":"https://github.com/agraris/nusantara-valid/issues"},"author":{"name":"Fajar Setya Budi","url":"https://magicjar.github.io"},"license":"MIT","homepage":"https://github.com/agraris/nusantara-valid#readme","keywords":["validator","javascript","indonesia","atm","credit-card","nik","nip","nisn","npwp","tnkb","postcode","email","mobile-number","telephone-number"],"repository":{"type":"git","url":"git+https://github.com/agraris/nusantara-valid.git"},"description":"Nusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.","maintainers":[{"name":"agraris-o","email":"agrarisentertainment@gmail.com"},{"name":"magicjar","email":"fajarsetya@live.com"}],"readme":"[![npm version](https://img.shields.io/npm/v/nusantara-valid.svg)](https://www.npmjs.com/package/nusantara-valid)\n[![Coverage Status](https://img.shields.io/coveralls/github/agraris/nusantara-valid/master)](https://coveralls.io/github/agraris/nusantara-valid?branch=master)\n[![JS gzip size](https://img.badgesize.io/agraris/nusantara-valid/master/dist/umd/nusantara-valid.min.js?compression=gzip&label=JS%20gzip%20size)](https://github.com/agraris/nusantara-valid/tree/master/dist/umd/nusantara-valid.min.js)\n[![Extended JS gzip size](https://img.badgesize.io/agraris/nusantara-valid/master/dist/umd/nusantara-valid.extended.min.js?compression=gzip&label=Extended%20JS%20gzip%20size)](https://github.com/agraris/nusantara-valid/tree/master/dist/umd/nusantara-valid.extended.min.js)\n[![Code license](https://img.shields.io/github/license/agraris/nusantara-valid)](#license)\n</br>\n</br>\n<p align=\"center\">\n    <img src=\"https://magicjar.github.io/assets/images/portfolios/nusantara-valid-logo.svg\" alt=\"Nusantara Valid logo\" width=72 height=72>\n  <h1 align=\"center\" style=\"font-weight: bold\">Nusantara Valid</h1>\n</p>\n\nNusantara Valid is a data validator to validate any Indonesian specific civil data such as nik, nip, and many more.\n\n*Baca petunjuk berbahasa [Indonesia](README_id.md)*\n\n## **Table of contents**\n\n- [What it can do?](#what-it-can-do)\n- [Getting started](#getting-started)\n- [What's included](#whats-included)\n- [Usage](#usage)\n- [API](#api)\n- [API (Extended Only)](#api-extended-only)\n- [License](#license)\n\n## **What it can do?**\n\n- ATM Number (Nomor Rekening)\n- Cellular Number / Mobile Number\n- Credit Card Number\n- E-Mail\n- NIK (Nomor Induk Kependudukan)\n- NIP (Nomor Induk Pegawai Negeri Sipil)\n- NISN (Nomor Induk Siswa Nasional)\n- NPWP (Nomor Pokok Wajib Pajak)\n- TNKB (Tanda Nomor Kendaraan Bermotor)\n- Telephon Number\n- ZIP Code (Kode Pos)\n\n## **Getting started**\n\nThere are some ways to import the package\n- [Download the latest release.](https://github.com/agraris/nusantara-valid/releases)\n- Clone the repo:\n\n    `git clone https://github.com/agraris/nusantara-valid.git`\n    \n- Install with [npm](https://www.npmjs.com/):\n    \n    `npm install nusantara-valid`\n\n- CDN from [jsDelivr](https://www.jsdelivr.com)\n\n    [https://cdn.jsdelivr.net/npm/nusantara-valid@0.4.2/dist/umd/nusantara-valid.min.js](https://cdn.jsdelivr.net/npm/nusantara-valid@0.4.2/dist/umd/nusantara-valid.min.js)\n\n## **What's included**\n\nThe package includes multiple formats to support different build process.\n- **/cjs/nusantara-valid.js** - CommonJS module.\n- **/esm/nusantara-valid.js** - ES module.\n- **/umd/nusantara-valid.js** - UMD module. Can be used in browser with `script` tag\n\nWe provide compiled JS (`nusantara-valid.js`), as well as compiled and minified JS (`nusantara-valid.min.js`) in each module. Extended JS files (`nusantara-valid.extended.js` and minified `nusantara-valid.extended.min.js`) include additional PROVINCE_DATA such as regencies and districts also some additional verification process.\n\n### Folder structure\n\n```\nnusantara-valid/\n└── dist/\n    ├── cjs/\n    │   ├── nusantara-valid.extended.js\n    │   ├── nusantara-valid.extended.js.map\n    │   ├── nusantara-valid.extended.min.js\n    │   ├── nusantara-valid.extended.min.js.map\n    │   ├── nusantara-valid.js\n    │   ├── nusantara-valid.js.map\n    │   ├── nusantara-valid.min.js\n    │   └── nusantara-valid.min.js.map\n    ├── esm/\n    │   ├── nusantara-valid.extended.js\n    │   ├── nusantara-valid.extended.js.map\n    │   ├── nusantara-valid.extended.min.js\n    │   ├── nusantara-valid.extended.min.js.map\n    │   ├── nusantara-valid.js\n    │   ├── nusantara-valid.js.map\n    │   ├── nusantara-valid.min.js\n    │   └── nusantara-valid.min.js.map\n    └── umd/\n        ├── nusantara-valid.extended.js\n        ├── nusantara-valid.extended.js.map\n        ├── nusantara-valid.extended.min.js\n        ├── nusantara-valid.extended.min.js.map\n        ├── nusantara-valid.js\n        ├── nusantara-valid.js.map\n        ├── nusantara-valid.min.js\n        └── nusantara-valid.min.js.map\n```\n\n## **Usage**\n\n### CommonJS module way (`require()`)\n\n``` javascript\nconst NusantaraValid = require('nusantara-valid')\n```\n\n### ES module way (`import`)\n\n``` javascript\nimport NusantaraValid from './node_modules/nusantara-valid/dist/esm/nusantara-valid.js'\n```\n\n### Good-old-browser-way (`<script></script>`)\n\n**Local**\n\n``` html\n<script src=\"../dist/umd/nusantara-valid.min.js\"></script>\n```\n\n**CDN**\n\n``` html\n<script src=\"https://cdn.jsdelivr.net/npm/nusantara-valid@0.4.2/dist/umd/nusantara-valid.min.js\"></script>\n```\n\n## **API**\n\n<table><tbody><tr><td><details><summary><b>ATM Number (Nomor Rekening)</b>\n\n``` javascript\nisValidATMNumber(atm: string);\n\nisValidATMNumberWithComparison(atm: string, bankKey: string);\n```\n</summary>\nResult:\n\n``` javascript\nisValidATMNumber('87.800.000.00');\n// true\n\nisValidATMNumberWithComparison('1230005123000', 'MDRK');\n// true\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Bank</b>\n\n``` javascript\ngetDataBank(bankKey: string);\n\ngetDataBanks();\n```\n</summary>\n\nResult:\n``` javascript\ngetDataBank('BCAK');\n// { key: 'BCAK', name: 'Bank Central Asia' }\n\ngetDataBanks();\n// [\n//     { key: 'BCAK', name: 'Bank Central Asia' },\n//     { key: 'BCAS', name: 'Bank Central Asia Syariah' },\n//     { key: 'BNIK', name: 'Bank Negara Indonesia' },\n//     ...\n// ]\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Cellular Number (Nomor HP)</b>\n\n``` javascript\nisValidCellularNumber(cel: string);\n\nisValidCellularNumberWithComparison(cel: string, providerKey: string);\n\ngetDataCellularNumber(cel: string);\n\nformatCellularNumber(cel: string, int:boolean = false)\n```\n</summary>\n\nResult:\n``` javascript\nisValidCellularNumber('081212341234');\n// true\n\nisValidCellularNumberWithComparison('081212341234', 'TELKOMSEL');\n// true\n\ngetDataCellularNumber('085612341234');\n// {\n//     \"number\": \"0856-1234-1234\",\n//     \"provider\": {\n//         \"key\": \"INDOSAT\",\n//         \"name\": \"Indosat Ooredoo\"\n//     }\n// }\n\nformatCellularNumber('+6281812341234');\n// '0818-1234-1234'\nformatCellularNumber('085612341234', true);\n// '+62856-1234-1234'\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Cellular Provider</b>\n\n``` javascript\ngetDataCellularProvider(key: string);\n\ngetDataCellularProviders();\n```\n</summary>\n\nResult:\n``` javascript\ngetDataCellularProvider('TELKOMSEL');\n// { \"key\": \"TELKOMSEL\", \"name\": \"Telkomsel\" }\n\ngetDataCellularProviders();\n// [\n//     { key: 'TELKOMSEL', name: 'Telkomsel' },\n//     { key: 'INDOSAT', name: 'Indosat Ooredoo' },\n//     { key: 'XL', name: 'XL Axiata' },\n//     ...\n// ]\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Credit Card Number</b>\n\n``` javascript\nisValidCCNumber(cc: string);\n\nformatCCNumber(cc: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidCCNumber('4000123456789010');\n// true\nisValidCCNumber('5000 1234 5678 9010');\n// true\n\nformatCCNumber('4000123456789010');\n// '4000 1234 5678 9010'\nformatCCNumber('5000 1234 5678 9010');\n// '5000 1234 5678 9010'\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>E-Mail</b>\n\n``` javascript\nisValidEmail(email: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidEmail('myawesom-email@domain.tld');\n// true\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Nomor Induk Kependudukan (NIK)</b>\n\n``` javascript\nisValidNIK(nik: string);\n\nisValidNIKWithComparison(nik: string, comparison: { provinceKy?: string, birthday?: string });\n\ngetDataNIK(nik: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidNIK('3101011212930001');\n// true\n\nisValidNIKWithComparison('3101011212930001', { provinceKey: '31', birthday: '1993-12-12' });\n// true\n\ngetDataNIK('3101011212930001');\n// {\n//     nik: '3101011212930001',\n//     birthday: 2006-12-20T00:00:00.000Z,\n//     sex: 'Male',\n//     province: {\n//         key: '31',\n//         name: 'Jakarta'\n//     }\n// }\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Nomor Induk Pegawai Negeri Sipil (NIP)</b>\n\n``` javascript\nisValidNIP(nip: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidNIP('198512262000051001');\n// true\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Nomor Induk Siswa Nasional (NISN)</b>\n\n``` javascript\nisValidNISN(nisn: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidNISN('0061230001');\n// true\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Nomor Pokok Wajib Pajak (NPWP)</b>\n\n``` javascript\nisValidNPWP(npwp: string);\n\nformatNPWP(npwp: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidNPWP('09.123.123.1-123.123');\n// true\nisValidNPWP('091231231123123');\n// true\n\nformatNPWP('091231231123123');\n// '09.123.123.1-123.123'\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Province</b>\n\n``` javascript\ngetDataProvince(key: string);\n\ngetDataProvinces();\n```\n</summary>\n\nResult:\n``` javascript\ngetDataProvince('34');\n// { key: '34', name: 'Yogyakarta' }\n\ngetDataProvinces();\n// [\n//     { bpsCode: '11', name: 'Aceh' },\n//     { bpsCode: '12', name: 'Sumatra Utara' },\n//     { bpsCode: '13', name: 'Sumatra Barat' },\n//     ...\n// ]\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Tanda Nomor Kendaraan Bermotor (TNKB)</b>\n\n``` javascript\nisValidTNKB(tnkb: string);\n\ngetDataTNKB(tnkb: string);\n```\n</summary>\n\nResult:\n``` javascript\nisValidTNKB('AB1234XYZ');\n// true\n\ngetDataTNKB('AB1234XYZ');\n// {\n//     areaCode: 'AB',\n//     index: 1234,\n//     detailedAreaCode: 'XYZ',\n//     province: {\n//         key: '34',\n//         name: 'Yogyakarta'\n//     }\n// }\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>Telephone Number (Nomor Telefon)</b>\n\n``` javascript\nisValidTelephoneNumber(tel: string);\n\ngetDataTelephoneNumber(cel: string);\n\nformatTelephoneNumber(tel: string, int:boolean = false)\n```\n</summary>\n\nResult:\n``` javascript\nisValidTelephoneNumber('0274123123');\n// true\n\ngetDataTelephoneNumber('0274123123');\n// {\n//     \"number\": \"0274-123123\",\n//     \"origin\": {\n//         \"key\": \"34\",\n//         \"name\": \"Yogyakarta\"\n//     }\n// }\n\nformatTelephoneNumber('0274123123');\n// '0274-123123'\nformatTelephoneNumber('0274123123', true);\n// '+62274-123123'\n```\n</details></td></tr></tbody></table>\n\n<table><tbody><tr><td><details><summary><b>ZIP Code (Kode POS)</b>\n\n``` javascript\nisValidZIP(zip: string | number);\n\nisValidZIPWithComparison(zip: string | number, comparison: { provinceKy?: string });\n```\n</summary>\n\nResult:\n``` javascript\nisValidZIP('55264');\n// true\nisValidZIP(55264);\n// true\n\nisValidZIPWithComparison('55264', { provinceKey: '34' });\n// true\nisValidZIPWithComparison(55264, { provinceKey: '34' });\n// true\n```\n</details></td></tr></tbody></table>\n\n## **API (Extended Only)**\n\n<table><tbody><tr><td><details><summary><b>Province</b>\n\n``` javascript\ngetDataRegenciesInProvince(provinceBPSCode: string);\n\ngetDataDistrictsInRegency(regencyBPSCode: string);\n```\n</summary>\n\nResult:\n``` javascript\ngetDataRegenciesInProvince('31'); // Regencies and City (Kabupaten dan Kota) in Jakarta\n// [\n//   { bpsCode: '31.01', name: 'Kepulauan Seribu' },\n//   { bpsCode: '31.71', name: 'Jakarta Pusat' },\n//   { bpsCode: '31.72', name: 'Jakarta Utara' },\n//   ...\n// ]\n\ngetDataDistrictsInRegency('31.71'); // Districts (Kecamatan) in Jakarta Pusat\n// [\n//   { name: 'Gambir', bpsCode: '31.71.01' },\n//   { name: 'Sawah Besar', bpsCode: '31.71.02' },\n//   { name: 'Kemayoran', bpsCode: '31.71.03' },\n//   ...\n// ]\n```\n</details></td></tr></tbody></table>\n\n## **License**\n\nCopyright (c) 2020 - Fajar Setya Budi.\n\nNusantara Valid released under the [MIT License](https://github.com/agraris/nusantara-valid/blob/master/LICENSE).","readmeFilename":"README.md"}