Skip to content
organisationsnummerPublic

About

Validate Swedish organization numbers

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

11 stars

Watchers

1 watching

Forks

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.

In memoriam

Fredrik "Frozzare" Forsmo (1991-2026) was the initiator, co-founder and a core contributor of the organisationsnummer project. This library carries his work. He is missed.

License

MIT

About

Validate Swedish organization numbers

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

11 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages