{"id":13718803,"url":"https://github.com/personnummer/js","last_synced_at":"2025-12-12T03:36:23.810Z","repository":{"id":24050766,"uuid":"27436432","full_name":"personnummer/js","owner":"personnummer","description":"Validate Swedish personal identity numbers","archived":false,"fork":false,"pushed_at":"2025-04-19T10:01:26.000Z","size":4290,"stargazers_count":54,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-19T15:59:51.974Z","etag":null,"topics":["hacktoberfest","javascript","personal-identity-number","personnummer","social-security-number","validation"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/personnummer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/personnummer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"sweidproject"}},"created_at":"2014-12-02T14:36:34.000Z","updated_at":"2025-04-19T10:01:07.000Z","dependencies_parsed_at":"2023-01-16T21:00:37.597Z","dependency_job_id":"aed4071d-78ef-4316-8a22-af6556c8a6f6","html_url":"https://github.com/personnummer/js","commit_stats":{"total_commits":734,"total_committers":10,"mean_commits":73.4,"dds":0.6866485013623977,"last_synced_commit":"92aa59c19ae7e9328bdc5873399831a6655d3521"},"previous_names":["frozzare/is-personnummer"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/personnummer","download_url":"https://codeload.github.com/personnummer/js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249769750,"owners_count":21323067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","javascript","personal-identity-number","personnummer","social-security-number","validation"],"created_at":"2024-08-03T01:00:37.994Z","updated_at":"2025-12-12T03:36:18.788Z","avatar_url":"https://github.com/personnummer.png","language":"TypeScript","funding_links":["https://opencollective.com/sweidproject"],"categories":["People","Table of Contents"],"sub_categories":["Projects Using Pine"],"readme":"# personnummer [![Build Status](https://img.shields.io/github/actions/workflow/status/personnummer/js/nodejs.yml?branch=master)](https://github.com/personnummer/js/actions) [![NPM Downloads](https://img.shields.io/npm/dm/personnummer.svg)](https://www.npmjs.com/package/personnummer)\n\nValidate Swedish personal identity numbers.\n\nInstall the module with npm:\n\n```\nnpm install --save personnummer\n```\n\n## Example\n\n```javascript\nimport Personnummer from 'personnummer';\n\nPersonnummer.valid('191212121212')\n//=\u003e true\n```\n\nSee [index.test.ts](src/index.test.ts) for more examples.\n\n## Options\n| Option                  | Type                     | Default                 | Description                       |\n|-------------------------|:-------------------------|:------------------------|:----------------------------------|\n| allowCoordinationNumber | bool                     | true                    | Accept coordination numbers       |\n| allowInterimNumber      | bool                     | false                   | Accept interim/T numbers          |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersonnummer%2Fjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpersonnummer%2Fjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersonnummer%2Fjs/lists"}