You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

html-to-mobi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-to-mobi

convert a html file to mobi, with kindlegen

0.2.0
latest
npm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

#htmlToMobi create a .mobi file by an given HTML

####How it works

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>'
        }]
    }]
};

Main.create(bookData, {
    target : '.' // create folder
})

Keywords

html

FAQs

Package last updated on 05 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts