html-to-mobi
v0.2.0
Published
convert a html file to mobi, with kindlegen
Downloads
5
Readme
#htmlToMobi create a .mobi file by an given HTML
####How it works
var htmlToMobi = require('htmlToMobi');
var bookData = {
"title" : '<ebook-title>',
"creator" : '<creator>',
"publisher" : '<publisher>',
"subject" : '<subject>',
"description" : '<description>',
"sections" : [{
"title" : '<title-of-section>',
"articles" : [{
"title" : '<title-of-article',
"author" : '<author-of-article>',
"content" : '<content-of-article>'
}]
}]
};
htmlToMobi.create(bookData, {
target : '.' // create folder
})