ebook-parser

0.0.3 • Public • Published

ebook-parser

use

const parser = require('ebook-parser');
parser('./example.epub', function(result) {
    console.log(result)
});

output:

{
  "name":"西游记",
  "pic":null,
  "categories":[
    {"id":1,"pid":0,"name":"第一部分","index":"part0000_split_001.html"}
  ],
  "contents":[
    {
    "index":"part0000_split_001.html",
    "content":"Guild. We will our ......"
    }
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i ebook-parser

Weekly Downloads

1

Version

0.0.3

License

ISC

Last publish

Collaborators

  • nate-river