img2mobi
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i img2mobi

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

65.8 MB

Total Files

16

Last publish

Collaborators

  • garychang