ean
v0.0.2
Published
A minimal EAN and ISBN implementation
Downloads
46
Readme
EAN
[![Build Status] [status]] [travis]
A minimal EAN and ISBN implementation.
Installation
npm install ean
Usage
ean = require 'ean'
ean.isValid '9780262011531' # false
ean.checkDigit '978026201153' # 2
[status]: https://secure.travis-ci.org/hakanensari/ean.png
[travis]: http://travis-ci.org/hakanensari/ean