Skip to content

Commit

Permalink
(chore): upgrade to version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanMaRuiz committed Sep 6, 2021
1 parent e05c6b0 commit 0de6254
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## [1.1.2] - 2020-12-29
### Chore
* Breaking change. Convert package to esm module.
## [2.0.0] - 2021-09-06
### Fix
* Fix validator for valid isbn-13 returned as false
## [1.1.1] - 2020-12-27
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

# ISBN Util

> **Breaking change** from version 2.0.0. From this version this module should be used as esm module. If you prefer use as CommonJS Module, install previous **v1.1.2**
This module **check if an ISBN is valid** or not **and** also provide a method to **generate** a **valid random ISBN-10** or **ISBN-13**

## Install
Expand All @@ -14,7 +16,7 @@ npm i isbn-util --save-dev
## Usage

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

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

0 comments on commit 0de6254

Please sign in to comment.