Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dbackowski/elixir_polish_validators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

PolishValidators Build Status

Library for validate polish numbers: PESEL, NIP, REGON, IBAN (PL)

Usage

iex> PolishValidators.Pesel.validate("44051401359")
{ :ok, "Valid" }
iex> PolishValidators.Nip.validate("6597068174")
{ :ok, "Valid" }
iex> PolishValidators.Iban.validate("PL61109010140000071219812874")
{ :ok, "Valid" }
iex> PolishValidators.Regon.validate("517001918")
{ :ok, "Valid" }

Installation

Package can be installed by adding polish_validators to your list of dependencies in mix.exs:

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

Documentation

Documentation can be found at https://hexdocs.pm/polish_validators.

License

Source code is available under the terms of the MIT License. Check LICENSE file for more information.

AltStyle によって変換されたページ (->オリジナル) /