Miss any of our Open RFC calls?Watch the recordings here! »

fxlepub3

0.5.3 • Public • Published

fxlepub3

generate EPUB from images in Node.js.

Usage

npm install fxlepub3

Demo Code:

var epub = require('fxlepub3'); 
 
var data={
"url":"C:/Users/user/Downloads/comic/testdata/",
"output":'C:/Users/user/Downloads/comic/fxlsample/out.epub',
"title": "タイトル",
"author1": "著者名1",
"author2": "著者名2",
"index": [
    ["cover.jpg", "表紙"],
    ["00001.jpg", "目次"],
    ["00005.jpg", "最終ページ"]
    ],
"page_direction": "rtl",
"panel_view": "horizontal-rl",
//"width": 800,
//"height": 1200,
"cover_file": {},
"files": []
}
 
epub.gen(data)

Install

npm i fxlepub3

DownloadsWeekly Downloads

8

Version

0.5.3

License

MIT

Unpacked Size

12.5 kB

Total Files

11

Last publish

Collaborators

  • avatar