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

1.0.5 • Public • Published

node-mobiunpack

Simple Node.js wrapper of mobiunpack 0.32 to unpack or export images from .mobi files.

Install

npm install mobiunpack

Usage

const { unpack, exportImages } = require("mobiunpack");

unpack("test.mobi", "output/unpack");
exportImages("test.mobi", "output/images");

CLI

Usage: mobiunpack <mobiFile> [outputDir] [--images]

Arguments:
  mobiFile      path to .mobi file
  outputDir     output directory (default: ".")

Options:
  --images      export sorted images

Development

Build mobiunpack executable file

pip install -i https://mirrors.aliyun.com/pypi/simple/ pyinstaller==3.6
pyinstaller -F "mobiunpack.py"

Package Sidebar

Install

npm i mobiunpack

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

4.07 MB

Total Files

8

Last publish

Collaborators

  • ssnangua