Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nithinbekal/isbn
An Elixir package to check valid ISBNs
https://github.com/nithinbekal/isbn
books elixir elixir-lang
Last synced: 2 months ago
JSON representation
An Elixir package to check valid ISBNs
- Host: GitHub
- URL: https://github.com/nithinbekal/isbn
- Owner: nithinbekal
- Created: 2016-11-22T06:23:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-10T00:48:35.000Z (about 3 years ago)
- Last Synced: 2024-10-11T01:49:01.925Z (3 months ago)
- Topics: books, elixir, elixir-lang
- Language: Elixir
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ISBN
## Installation
Add `isbn` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:isbn, "~> 0.1.0"}]
end
```## Examples
`ISBN.valid?/1` checks if the given string is a valid ISBN.
```elixir
ISBN.valid?("0-306-40615-2")
#=> trueISBN.valid?("1234567")
#=> false
```