{"_id":"1918js","_rev":"10-307e061782f5c5ec5c162b5336aef561","name":"1918js","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.2":{"name":"1918js","version":"0.0.2","keywords":[],"author":"","license":"ISC","_id":"1918js@0.0.2","maintainers":[{"name":"panevka","email":"jakubguzik00@gmail.com"}],"dist":{"shasum":"7f5fedc3b053beea85e869d1acfe3a8989a62168","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.2.tgz","fileCount":4,"integrity":"sha512-rzuZU4K6eUSc2sSugyKyTxGe7AvJJLUqH+SmtND4P7QjNLWt5zboQRQ1AHFxwJd6KttBj9tFSSXguxV5qzQm+w==","signatures":[{"sig":"MEQCIAeYpFNjvPDJQPry7NX5k/+MoxW3WYgwVAhJ/Sy046ahAiBz2ZFFBdw+IsVtyZFsPX4/wpjcSxwWYQlkRBGmKKlXug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9883},"main":"index.mjs","type":"module","scripts":{"test":"vitest","build":"tsc","works":"rm -r ./dist || pnpm build --noEmit && pnpm test run --coverage && pnpm tsdown"},"_npmUser":{"name":"panevka","email":"jakubguzik00@gmail.com"},"description":"","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","tsdown":"^0.22.14","vitest":"^4.1.10","@vitest/ui":"4.1.10","fast-check":"^4.9.0","typescript":"^6.0.2","@types/node":"^26.1.2","@fast-check/vitest":"^0.4.1","@vitest/coverage-v8":"4.1.10","@stryker-mutator/core":"^8.4.1","@stryker-mutator/vitest-runner":"^9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.2_1786565853970_0.10576628630507945","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"1918js","version":"0.0.3","keywords":[],"author":"","license":"ISC","_id":"1918js@0.0.3","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"dist":{"shasum":"b9a5719d38a9837ebb427b55b188dfe5677f69b5","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.3.tgz","fileCount":5,"integrity":"sha512-3ChheMWl5yOTeYsr49eksd43VdZIqj36LULk/DR5M9pO62Mo3STbx1Z3rEpMUR1DNjB2Yg2LHQCfyUOWIJ+Sow==","signatures":[{"sig":"MEYCIQCFSIRy7KzqIgUbHRyIjZg9SNdEQyrAMPA0XqSRln/MxQIhAIjtqHCLbNzM2bNqSk/JZbIJ24NFvtMjis9tnei+85Hr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12447},"main":"index.mjs","type":"module","scripts":{"test":"vitest","build":"tsc","works":"rm -r ./dist || pnpm build --noEmit && pnpm test run --coverage && pnpm tsdown"},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"description":"","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","@vitest/ui":"4.1.10","fast-check":"^4.9.0","typescript":"^6.0.2","@types/node":"^26.1.2","@fast-check/vitest":"^0.4.1","@vitest/coverage-v8":"4.1.10","@stryker-mutator/core":"^8.4.1","@stryker-mutator/vitest-runner":"^9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.3_1786571843418_0.5105846039495197","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"1918js","version":"0.0.4","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"author":"the-lack","license":"MIT","_id":"1918js@0.0.4","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"homepage":"https://github.com/the-lack/1918js","url":"https://github.com/the-lack/1918js/issues","dist":{"shasum":"f829bdbfa029a867335122bf515974ab76f9c5a0","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.4.tgz","fileCount":5,"integrity":"sha512-7FrQbmI8ARH1+FGmUnxcpRvnQ/CnBrlUk7yz5OwynVHiezw0SM1ZWEUD/+PI8lZoQnN6i9/snkqb+oyNM36MlQ==","signatures":[{"sig":"MEUCIGuUl5ZA5Ec8u8PuK4Z+a97gNOPWwDdt7u2wF7PKFBY6AiEA4z8KAXaQvVAC+f1TI2PjGcQ1iqUXVgQ4TNgRmqN4JOE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15727},"main":"index.mjs","type":"module","scripts":{"works":"git clean -f -d -X && bun install --frozen-lockfile && tsc && bun test --concurrent --randomize --max-concurrency=4 --parallel --coverage && bun docs:build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","test:mutation":"stryker run"},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"repository":{"url":"https://github.com/the-lack/1918js.git","type":"git"},"description":"typescript validation library for polish identifiers: regon, nip, pesel","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"1918js":"^0.0.3","tsdown":"^0.22.14","vitest":"^4.1.10","vitepress":"^2.0.0-alpha.19","@types/bun":"^1.3.14","@vitest/ui":"4.1.10","fast-check":"^4.9.0","typescript":"^7.0.0","@types/node":"^26.1.2","@fast-check/vitest":"^0.4.1","@vitest/coverage-v8":"4.1.10","@stryker-mutator/core":"^10.0.0","stryker-mutator-bun-runner":"^0.4.0","vitepress-plugin-group-icons":"^1.7.6","@stryker-mutator/vitest-runner":"^9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.4_1788281784741_0.8013753759974644","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"1918js","version":"0.0.5","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"author":"the-lack","license":"MIT","_id":"1918js@0.0.5","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"homepage":"https://github.com/the-lack/1918js","url":"https://github.com/the-lack/1918js/issues","dist":{"shasum":"3fdbfd19ae15d04c2278b6dbe1e462167be146f3","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.5.tgz","fileCount":5,"integrity":"sha512-rldpx7OmnCGnKkx8RgFHqY1CzTftGkTxOSA5Hu1EI7c3m4oiY/BmFlVknE6tCSf6niesqKgBGX5Szp6WlaSuAg==","signatures":[{"sig":"MEYCIQDP5/QepAS86bXd+0iiamth59mEYcRsGKioJQePVmJf7QIhAKsn6Gw6mdfBEL2boywCQFN6bQeInDnfzIXxcAX113vt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15727},"main":"index.mjs","type":"module","scripts":{"works":"git clean -f -d -X && bun install --frozen-lockfile && tsc && bun test --concurrent --randomize --max-concurrency=4 --parallel --coverage && bun docs:build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","test:mutation":"stryker run"},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"repository":{"url":"https://github.com/the-lack/1918js.git","type":"git"},"description":"typescript validation library for polish identifiers: regon, nip, pesel","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"1918js":"0.0.3","tsdown":"0.22.14","vitest":"4.1.10","vitepress":"2.0.0-alpha.19","@types/bun":"1.3.14","@vitest/ui":"4.1.10","fast-check":"4.9.0","typescript":"7.0.2","@types/node":"26.1.2","@fast-check/vitest":"0.4.1","@vitest/coverage-v8":"4.1.10","@stryker-mutator/core":"10.0.0","stryker-mutator-bun-runner":"0.4.0","vitepress-plugin-group-icons":"1.7.6","@stryker-mutator/vitest-runner":"9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.5_1788282322387_0.6070131749460907","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"1918js","version":"0.0.6","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"author":"the-lack","license":"MIT","_id":"1918js@0.0.6","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"homepage":"https://the-lack.github.io/1918js/","url":"https://github.com/the-lack/1918js/issues","dist":{"shasum":"35155b0415c3b8a0e5c23c702fc38136ed221d6c","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.6.tgz","fileCount":5,"integrity":"sha512-1wN3rC6qqicbUBKT5rPKl3YEZUqSwbOvINweDjLz3UKMuHwqUwsGf9349Ok8vZTe9y2t8lBGPwDXfAjWNc9ROQ==","signatures":[{"sig":"MEYCIQDVYk7/TBedXRYHxkagdFXOT7j7W3A61/q3HCbZCcUGtAIhALLhMe0zOjHyoZO42eWBlTLWZYqRr4SghQAgb7q4OXHU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15727},"main":"index.mjs","type":"module","scripts":{"works":"git clean -f -d -X && bun install --frozen-lockfile && tsc && bun test --concurrent --randomize --max-concurrency=4 --parallel --coverage && bun docs:build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs","test:mutation":"stryker run"},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"repository":{"url":"https://github.com/the-lack/1918js.git","type":"git"},"description":"typescript validation library for polish identifiers: regon, nip, pesel","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"1918js":"0.0.3","tsdown":"0.22.14","vitest":"4.1.10","vitepress":"2.0.0-alpha.19","@types/bun":"1.3.14","@vitest/ui":"4.1.10","fast-check":"4.9.0","typescript":"7.0.2","@types/node":"26.1.2","@fast-check/vitest":"0.4.1","@vitest/coverage-v8":"4.1.10","@stryker-mutator/core":"10.0.0","stryker-mutator-bun-runner":"0.4.0","vitepress-plugin-group-icons":"1.7.6","@stryker-mutator/vitest-runner":"9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.6_1788282639957_0.22159166012714904","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"1918js","version":"0.0.7","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"author":{"name":"the-lack"},"license":"MIT","_id":"1918js@0.0.7","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"homepage":"https://the-lack.github.io/1918js/","bugs":{"url":"https://github.com/the-lack/1918js/issues"},"url":"https://github.com/the-lack/1918js/issues","dist":{"shasum":"04194db00ab959efc5d02df6f97b0c6c7be15d6d","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.7.tgz","fileCount":5,"integrity":"sha512-BaOXCwHiXdsrbdCaE5PoQX2BaqSWIMQoD2uMItF04opiJMY77eCzwBKhjRhfM8c6obVTk24sTqoTPqfxh4dAYQ==","signatures":[{"sig":"MEUCIGbXoOCi8AjtY/ocEUFeerfR/qq3cbLT+pwcetqZVjRwAiEA1D+h9SEiLEHsSK/tyTqDddG7j1/x2UVY7GFR4zi+jlg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22801},"main":"index.mjs","type":"module","gitHead":"63ec2f09a9a4da79a02b1fc9f481f88a86511af8","scripts":{"works":"git clean -f -d -X && bun install --frozen-lockfile && tsc && bun test --concurrent --randomize --max-concurrency=4 --parallel --coverage && bun docs:build","publish":"bun tsdown && cd dist && npm publish .","docs:dev":"vitepress dev documentation","docs:build":"vitepress build documentation","docs:preview":"vitepress preview documentation","test:mutation":"stryker run"},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"repository":{"url":"git+https://github.com/the-lack/1918js.git","type":"git"},"_npmVersion":"11.13.0","description":"typescript validation library for polish identifiers: regon, nip, pesel","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.14","vitepress":"2.0.0-alpha.19","@types/bun":"1.3.14","fast-check":"4.9.0","typescript":"7.0.2","@types/node":"26.1.2","@stryker-mutator/core":"10.0.0","stryker-mutator-bun-runner":"0.4.0","vitepress-plugin-group-icons":"1.7.6","@stryker-mutator/vitest-runner":"9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.7_1788722174566_0.22356525155629026","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"1918js","version":"0.0.8","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"author":{"name":"the-lack"},"license":"MIT","_id":"1918js@0.0.8","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"homepage":"https://the-lack.github.io/1918js/","bugs":{"url":"https://github.com/the-lack/1918js/issues"},"url":"https://github.com/the-lack/1918js/issues","dist":{"shasum":"ed85dc6f8c3c7d7393381770eb0d117a9faefb28","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.8.tgz","fileCount":5,"integrity":"sha512-fnUDmkUFM5CtIq1GHrZdo3FjDgTmaWA30++pjYjwardzylQ/iF4JSuBZ27x8rcUPbdFK75mGRI9LfF3dgQNQPw==","signatures":[{"sig":"MEYCIQCtJ9bxIIoEP5+qBwD/NY99tVeH/H6Dw8ZinM4jSO1WpQIhAKPMbWkjZF/w743tZ3LyQkWtNkwdf8XRW0dsirTzYxVP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23183},"main":"index.mjs","type":"module","gitHead":"3516c6c2c2ad2d2199cae6be362cc170b36b0649","scripts":{"works":"git clean -f -d -X && bun install --frozen-lockfile && tsc && bun test --concurrent --randomize --max-concurrency=4 --parallel --coverage && bun docs:build","publish":"bun tsdown && cd dist && npm publish .","docs:dev":"vitepress dev documentation","docs:build":"vitepress build documentation","docs:preview":"vitepress preview documentation","test:mutation":"stryker run"},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"repository":{"url":"git+https://github.com/the-lack/1918js.git","type":"git"},"_npmVersion":"11.13.0","description":"typescript validation library for polish identifiers: regon, nip, pesel","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.14","vitepress":"2.0.0-alpha.19","@types/bun":"1.3.14","fast-check":"4.9.0","typescript":"7.0.2","@types/node":"26.1.2","@stryker-mutator/core":"10.0.0","stryker-mutator-bun-runner":"0.4.0","vitepress-plugin-group-icons":"1.7.6","@stryker-mutator/vitest-runner":"9.6.1"},"_npmOperationalInternal":{"tmp":"tmp/1918js_0.0.8_1788723044297_0.7705602235204843","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"1918js","version":"0.0.9","author":{"name":"the-lack"},"repository":{"type":"git","url":"git+https://github.com/the-lack/1918js.git"},"main":"index.mjs","devDependencies":{"@stryker-mutator/core":"10.0.0","@stryker-mutator/vitest-runner":"9.6.1","@types/bun":"1.3.14","@types/node":"26.1.2","eslint":"10.10.0","eslint-plugin-n":"18.3.0","fast-check":"4.9.0","jiti":"^2.7.0","stryker-mutator-bun-runner":"0.4.0","tsdown":"0.22.14","typescript":"7.0.2","vitepress":"2.0.0-alpha.19","vitepress-plugin-group-icons":"1.7.6"},"description":"typescript validation library for polish identifiers: regon, nip, pesel","homepage":"https://the-lack.github.io/1918js/","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"license":"MIT","scripts":{"works":"git clean -f -d -X && bun install --frozen-lockfile && tsc && bun test --concurrent --randomize --max-concurrency=4 --parallel --coverage && bun docs:build && bun tsdown && bun tsdown && cd dist && bun eslint","publish":"bun tsdown && cd dist && npm publish .","docs:dev":"vitepress dev documentation","docs:build":"vitepress build documentation","docs:preview":"vitepress preview documentation","test:mutation":"stryker run"},"type":"module","url":"https://github.com/the-lack/1918js/issues","engines":{"node":">=7.0.0"},"gitHead":"81c40c8c0b688dfe694569a787a9a5bc3cfce94c","_id":"1918js@0.0.9","bugs":{"url":"https://github.com/the-lack/1918js/issues"},"_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-e+kVgv14KWUPbk9p8x5qpa6qLbIlPHfvZj2H0rxQqFtE+B1s7YP3hK2sjLWh1A6T6WhJi3+onk34pwHRWYYIjg==","shasum":"8565de84b25bb75a3414064f131f3ec059640a5e","tarball":"https://registry.npmjs.org/1918js/-/1918js-0.0.9.tgz","fileCount":5,"unpackedSize":25514,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC9/NUw3wpPZup3h+hUXeCDV7toF+gbX9WWTsXYvzFAsAIgIEid19MiKZYSEOSofHye7+WNKIbuDu1KfhpG3SBp+8A="}]},"_npmUser":{"name":"panevka","email":"panevka@proton.me"},"directories":{},"maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/1918js_0.0.9_1788808958635_0.2057425902111656"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-12T20:17:33.925Z","modified":"2026-09-07T19:22:38.967Z","0.0.1":"2026-08-11T19:43:28.016Z","0.0.2":"2026-08-12T20:17:34.139Z","0.0.3":"2026-08-12T21:57:23.571Z","0.0.4":"2026-09-01T16:56:24.898Z","0.0.5":"2026-09-01T17:05:22.542Z","0.0.6":"2026-09-01T17:10:40.080Z","0.0.7":"2026-09-06T19:16:14.714Z","0.0.8":"2026-09-06T19:30:44.432Z","0.0.9":"2026-09-07T19:22:38.766Z"},"bugs":{"url":"https://github.com/the-lack/1918js/issues"},"author":{"name":"the-lack"},"license":"MIT","homepage":"https://the-lack.github.io/1918js/","keywords":["regon","nip","pesel","validation","poland","polish","value object","identifiers","validator","pesel validator","pesel validation","regon validator","regon validation","typescript","javascript","nip validation","nip validator"],"repository":{"type":"git","url":"git+https://github.com/the-lack/1918js.git"},"description":"typescript validation library for polish identifiers: regon, nip, pesel","maintainers":[{"name":"panevka","email":"panevka@proton.me"}],"readme":"# 1918js\n\n### what is this?\nvalidation library for polish identifiers\n\n### features\n- validation utilities for polish identifiers: NIP, PESEL, REGON\n- no external dependencies\n- extensive testing (unit tests, property-based tests, mutation-tests)\n\n### how to use\n\n```ts\nimport { validateRegon } from \"1918js\"\n\ndeclare const someUnknownUserInput: unknown;\n\nconst result = validateRegon(someUnknownUserInput)\n\nif(result.ok) {\n  console.log(\"happy path :)\")\n  console.log(\"our value: \", result.value)\n}\n\nif(!result.ok) {\n  console.log(\"you know what path this is :(\")\n\n  // error is accessed as a value, never thrown\n  console.log(\"error code\", result.error.code)\n}\n```\n\n### learn more\n[documentation](https://the-lack.github.io/1918js/)\n","readmeFilename":"README.md"}