Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

organisationsnummer

Validate Swedish organization numbers

personnummer, personal, identity, social, security, numbers, organisationsnummer, organization

readme

organisationsnummer Build Status NPM Downloads

Validate Swedish organization numbers. Follows version 1.1 of the specification.

Install the module with npm:

npm install --save organisationsnummer

Example

import Organisationsnummer from 'organisationsnummer';

Organisationsnummer.valid('202100-5489');
//=> true

See test.ts for more examples.

License

MIT