ebook-convert
A wrapper around the command-line tool ebook-convert from Calibre
Usage:
var path = var xtend = var convert = // see more options at https://manual.calibre-ebook.com/generated/en/ebook-convert.htmlvar options = input: path output: path authors: '"Seth Vincent"' pageBreaksBefore: '//h:h1' chapter: '//h:h1' insertBlankLine: true insertBlankLineSize: '1' lineHeight: '12' marginTop: '50' marginRight: '50' marginBottom: '50' marginLeft: '50' /** create epub file*/
Installation:
Install ebook-convert
with npm:
npm install ebook-convert