Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
wrapper around calibre's ebook-convert command
JavaScript CSS
Branch: master
Failed to load latest commit information.
examples reorganize, add example
test reorganize, add example
.gitignore improve arguments
LICENSE v0.0.1
README.md Update README.md
index.js reorganize, add example
package.json 0.1.0

README.md

ebook-convert

A wrapper around the command-line tool ebook-convert from Calibre

Usage:

var convert = require('ebook-convert');

var epub = convert({
  source: 'test.html',
  target: 'test.epub',
  arguments: [
    ['--base-font-size', '10'], 
    ['--authors', 'Seth Vincent'],
    ['--extra-css', 'test.css']
  ]
});

epub.on('end', function(){
  console.log('did it!, the epub exists!')
});

Installation:

Install calibre

Install ebook-convert with npm:

npm install ebook-convert

License:

MIT

Something went wrong with that request. Please try again.