Skip to content

organisationsnummer/js

Repository files navigation

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