epub-zipper

1.4.3 • Public • Published

epub-zipper

NPM version Code Climate CircleCI

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)

Readme

Keywords

none

Package Sidebar

Install

npm i epub-zipper

Weekly Downloads

28

Version

1.4.3

License

MIT

Unpacked Size

10.6 MB

Total Files

15

Last publish

Collaborators

  • msimmer