9 lines
365 B
JavaScript
9 lines
365 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const epub_1 = require("./epub");
|
||
|
var epub = new epub_1.EPub("alice.epub", "/imagewebroot/", "/articlewebroot/");
|
||
|
epub.parse().then(async () => {
|
||
|
console.log(epub);
|
||
|
console.log(await epub.getChapter("item32"));
|
||
|
}).catch(err => console.error(err));
|
||
|
//# sourceMappingURL=test.js.map
|