Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbackowski/elixir_polish_validators
Elixir library for validate polish numbers: PESEL, NIP, REGON, IBAN (PL)
https://github.com/dbackowski/elixir_polish_validators
elixir elixir-library iban iban-validator nip nip-validation pesel pesel-validation regon regon-validation
Last synced: 7 days ago
JSON representation
Elixir library for validate polish numbers: PESEL, NIP, REGON, IBAN (PL)
- Host: GitHub
- URL: https://github.com/dbackowski/elixir_polish_validators
- Owner: dbackowski
- License: mit
- Created: 2017-12-23T18:15:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-15T16:02:25.000Z (almost 7 years ago)
- Last Synced: 2024-10-19T00:16:41.858Z (27 days ago)
- Topics: elixir, elixir-library, iban, iban-validator, nip, nip-validation, pesel, pesel-validation, regon, regon-validation
- Language: Elixir
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PolishValidators [![Build Status](https://travis-ci.org/dbackowski/elixir_polish_validators.svg?branch=master)](https://travis-ci.org/dbackowski/elixir_polish_validators)
Library for validate polish numbers: PESEL, NIP, REGON, IBAN (PL)
## Usage
```elixir
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`:
```elixir
def deps do
[
{:polish_validators, "~> 0.1.0"}
]
end
```
## DocumentationDocumentation can be found at [https://hexdocs.pm/polish_validators](https://hexdocs.pm/polish_validators).
## License
Source code is available under the terms of the MIT License. Check LICENSE file for more information.