Package
personnummer.js
JavaScript script to validate and parse Swedish personal identity numbers and corporate identity numbers. Written in TypeScript and includes types.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.1k
- -35% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 4 years ago
- v3.0.0
- GitHub stars
- 10
- 3 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
4,093 downloads last week, 16,369 in the last month. The 12-month change of -35% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 3.0.0, 14 Sept 20224 years ago
- First published
- -
- Last push to GitHub
- 9 Jan 20231,355 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 7
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 41 kB
- Dependencies (0)
- None
npm install personnummer.js- jsDelivr
https://cdn.jsdelivr.net/npm/personnummer.js@3.0.0/ - unpkg
https://unpkg.com/personnummer.js@3.0.0/ - esm.sh
https://esm.sh/personnummer.js@3.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| runtypes | 186.3k | - | 1 month ago | ESM + CommonJS | - |
| @standard-schema/spec | 80.7m | - | 9 months ago | ESM + CommonJS | - |
| @inixiative/json-rules | 21.6k | - | 4 days ago | ESM + CommonJS | - |
| @zod/mini | 14.9k | - | 11 days ago | ESM + CommonJS | - |
| @c15t/schema | 116.6k | - | 1 month ago | ESM + CommonJS | - |
| effect | 26.3m | - | 15 days ago | ESM + CommonJS | - |
| json-schema-to-ts | 24.9m | - | 2 years ago | ESM + CommonJS | - |
| io-ts | 2m | - | 1 year ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 4093 < 10000.