0.0.4 • Published 6 years ago

img2mobi v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

img2mobi

中文文档

Convert image file or images fold to kindle (.mobi) files.

Usage

    npm install img2mobi -g
    // and
    img2mobi -i /Downloads/images -o ./aaa.mobi

Api

import img2mobi from 'img2mobi'

img2mobi('./images', './ogogogo.mobi', {
    title: 'my-ebook'
})

// mgPath: string
// outPath: string
// options {
//     title?: string
//     author?: string
//     description?: string
//     rights?: string
//     cover?: string
// }

Principle

imgs -> epub -> mobi

Dev

git clone git@github.com:GaryChangCN/img2mobi.git
npm install
npm run dev

License

MIT