Skip to content

organisationsnummer/csharp

Repository files navigation

organisationsnummer

Test CodeQL

Validate Swedish organization numbers. Follows version 1.1 of the specification.

Install the package:

dotnet add package Organisationsnummer

Example

using Organisationsnummer;

Organisationsnummer.valid('202100-5489');
//=> true

See Organisationsnummer.Tests/OrganisationsnummerTests.cs for more examples.

License

MIT