hhdem-epub-zipper
v1.5.2
Published
Zips a directory as an epub. Returns a promise object.
Downloads
4
Readme
epub-zipper
Zips a directory as an epub. Includes a wrapper around EpubCheck. Returns a promise object.
Install
$ npm i -S epub-zipper
Use
const path = require('path')
const zipper = require('epub-zipper')
const options = {
input: path.join(__dirname, 'book-dir'),
output: __dirname,
clean: true // Removes existing .epubs from the output dir
}
zipper.create(options).catch(console.error)