Validate Swedish organization numbers. Follows version 1.1 of the specification.
dart pub add organisationsnummer_dartPublished on pub.dev as organisationsnummer_dart. It replaces the old organisationsnummer package, which can no longer be updated. Change the dependency and the import to organisationsnummer_dart, the API is the same.
import 'package:organisationsnummer_dart/organisationsnummer_dart.dart';
Organisationsnummer.valid('202100-5489');
//=> trueSee test/organisationsnummer.dart for more examples.
Fredrik "Frozzare" Forsmo (1991-2026) was the initiator, co-founder and a core contributor of the organisationsnummer project. This library carries his work. He is missed.
MIT