se-orgnr-generator

Supersimple dependency-free library for generation Swedish organization numbers with TypeScript bindings


Keywords
generator, swedish, organization, company
License
MIT
Install
npm install se-orgnr-generator@1.0.2

Documentation

Version Count License

se-orgnr-generator

Supersimple dependency-free library for generation Swedish organization numbers with TypeScript bindings.

Install

yarn install se-orgnr-generator

or

npm install se-orgnr-generator

Example

import generateOrganizationNumber from 'se-orgnr-generator';

const organizationNumber = generateOrganizationNumber();

Validation

This library is tested with among other tests by generating 100 000 organization numbers that are validated against se-orgnr-validator