organisationsnummer
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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.

License

MIT

Package Sidebar

Install

npm i organisationsnummer

Weekly Downloads

1,921

Version

1.2.0

License

MIT

Unpacked Size

28.7 kB

Total Files

9

Last publish

Collaborators

  • frozzare
  • johannestegner