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

Appearance settings

crabonature/ex_nip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExNip

Elixir library for NIP number.

  • ExNip.valid?/1 - you can check if NIP number is valid

More about NIP number:

Usage

iex> ExNip.valid?("1060000062")
true

iex> ExNip.valid?("106-00-00-062")
true

iex> ExNip.valid?("106-000-00-62")
true

iex> ExNip.valid?("1234567890")
false

Installation

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

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

Documentation

Docs can be found at https://hexdocs.pm/ex_nip.

License

Source code of ex_nip is released under the Apache 2.0 license, see the LICENSE file.

About

Elixir library for NIP number.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.