Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanMaRuiz committed Sep 11, 2020
1 parent b776b67 commit f7b0bd9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions README.md
Expand Up @@ -14,24 +14,6 @@ npm i ccc-util --save-dev
## Usage

```bash
const { validate, generate } = require('ccc-util');

validate('84-481-2231-3');
//=> true

validate('0137081073');
//=> true

validate('isbn: 84-481-2231-3');
//=> false

generate('13');
//=> '9780137081073'

generate('13', 'prefix');
//=> 'isbn-13: 9780137081073'

generate('10');
//=> '8448122313'
```

0 comments on commit f7b0bd9

Please sign in to comment.