@ridi/epub-parser
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@ridi/epub-parser", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Common EPUB2 data parser for Ridibooks services", | ||
@@ -12,6 +12,6 @@ "author": { | ||
"type": "git", | ||
"url": "https://github.com/ridi/content-parser/packages/epub-parser" | ||
"url": "https://github.com/ridi/content-parser" | ||
}, | ||
"bugs": "https://github.com/ridi/content-parser/issues", | ||
"homepage": "https://github.com/ridi/content-parser/packages/epub-parser", | ||
"homepage": "https://github.com/ridi/content-parser", | ||
"keywords": [ | ||
@@ -32,3 +32,3 @@ "EPUB", | ||
"dependencies": { | ||
"@ridi/parser-core": "^0.3.0", | ||
"@ridi/parser-core": "^0.3.1", | ||
"css-tree": "^1.0.0-alpha.29", | ||
@@ -35,0 +35,0 @@ "fast-xml-parser": "^3.11.2", |
@@ -28,3 +28,3 @@ # @ridi/epub-parser | ||
- [ ] Environment | ||
- [x] Node | ||
- [x] Node | ||
- [ ] CLI | ||
@@ -168,3 +168,3 @@ - [ ] Browser | ||
### onProgress = callback | ||
### onProgress = callback(step, totalStep, action) | ||
@@ -174,2 +174,3 @@ Tells the progress of parser through `callback`. | ||
```js | ||
const { Action } = EpubParser; | ||
parser.onProgress = (step, totalStep, action) => { | ||
@@ -176,0 +177,0 @@ console.log(`[${action}] ${step} / ${totalStep}`); |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
111032
1
580
Updated@ridi/parser-core@^0.3.1