nithinbekal / isbn

An Elixir package to check valid ISBNs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ISBN

Installation

Add isbn to your list of dependencies in mix.exs:

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

Examples

ISBN.valid?/1 checks if the given string is a valid ISBN.

ISBN.valid?("0-306-40615-2")
#=> true

ISBN.valid?("1234567")
#=> false

About

An Elixir package to check valid ISBNs


Languages

Language:Elixir 100.0%