Supersimple dependency-free library for generation Swedish organization numbers with TypeScript bindings.
yarn install se-orgnr-generator
or
npm install se-orgnr-generator
import generateOrganizationNumber from 'se-orgnr-generator';
const organizationNumber = generateOrganizationNumber();This library is tested with among other tests by generating 100 000 organization numbers that are validated against se-orgnr-validator