Validate Swedish organization numbers. Follows version 1.1 of the specification.
Install the module with npm:
npm install --save organisationsnummer
import Organisationsnummer from 'organisationsnummer';
Organisationsnummer.valid('202100-5489');
//=> trueSee test.ts for more examples.
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.
MIT