This repository has been archived on 2019-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
epub/lib/test.js

9 lines
365 B
JavaScript
Raw Permalink Normal View History

"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