mobi-zipper

0.3.2 • Public • Published

mobi-zipper

NPM version Code Climate CircleCI

Compiles a Mobi file using calibre’s ebook-convert. Returns a promise object.

Install

$ npm i -S mobi-zipper

Usage

import path from 'path'
import zipper from 'mobi-zipper'
 
const options = {
  input: path.join(__dirname, './epub/OPS/content.opf'),
  output: __dirname,
  clean: true // Removes existing .mobis in the output dir
}
 
zipper.create(options).catch(console.error)

Readme

Keywords

none

Package Sidebar

Install

npm i mobi-zipper

Weekly Downloads

1

Version

0.3.2

License

MIT

Unpacked Size

7.35 kB

Total Files

5

Last publish

Collaborators

  • msimmer