ebook-convert

node.js wrapper around calibre's ebook-convert command

npm install ebook-convert
13 downloads in the last week
35 downloads in the last month

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

npm loves you