personnummer 3.1.0 copy "personnummer: ^3.1.0" to clipboard
personnummer: ^3.1.0 copied to clipboard

Validate Swedish personal identity numbers with Dart and Flutter.

3.1.0 #

Personnummer v3.1 API Spec implemented.

  • Added options for allowing coordination numbers (true by default) and interim number (false by default).
  • Added support for interim numbers
  • Added isInterimNumber function
  • Added getDate function

3.0.5 #

  • Migrate to null-safety, see #8

3.0.4 #

3.0.3 #

  • Fixed an issue where last four digits in personnumers with invalid data could be parsed.

3.0.2 #

  • Improve package health score by using pana tool to analyze the code.

3.0.1 #

  • Improve isCoordinationNumber to test the date
  • Make use of isCoordinationNumber inside getAge to determine the real day.

3.0.0 #

The one that breaks everything

2.1.0 #

  • Added isMale
  • Added isFemale
  • Improved format to replace the separator if it's not matching the full year.

2.0.0 #

  • Added getAge
  • Added format
  • Follows personnummer spec.

1.0.2 #

  • Fix package issue with changelog.

1.0.1 #

  • Add changelog
  • Add example
  • Use isEmpty instead of length == 0

1.0.0 #

  • Initial version
4
likes
160
points
1.57k
downloads

Publisher

verified publisherfrozzare.com

Weekly Downloads

Validate Swedish personal identity numbers with Dart and Flutter.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on personnummer