0.1.8 • Published 1 year ago

epub-parser-simple v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

simple-epub-parser

Installation

npm i epub-parser-simple

Usage

import fs from 'fs';

import { parseEpub } from 'epub-parser-simple'

const file_path = `${__dirname}/${file_name}.epub`;
const buffer = fs.readFileSync(file_path);

const parsed_book = await parseEpub(buffer)

fs.writeFile(`${__dirname}/${file_name}.json`, JSON.stringify(parsed_book, null, 2), 'utf8', () => {});
0.1.8

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.4

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago