se-orgnr-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i se-orgnr-generator

Weekly Downloads

55

Version

1.0.2

License

MIT

Unpacked Size

10 kB

Total Files

14

Last publish

Collaborators

  • robertherber