Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personnummer

hex.pm versionBuild StatusCoverage Statushex.pm weekly downloads hex.pm downloads

Validate Swedish social security numbers.

Installation

The package can be installed by adding personnummer to your list of dependencies in mix.exs:

def deps do
  [
    {:personnummer, "~> 0.1.0"}
  ]
end

Example

iex> Personnummer.valid?(6403273813)
true
iex> Personnummer.valid?("19130401+2931")
true

Documentation

The docs can be found at https://hexdocs.pm/personnummer.

About

Validate Swedish social security numbers

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages