fb2html
v1.0.10
Published
Parser FB2 books to HTML
Downloads
18
Readme
Install
npm install fb2html --save
Example
const FB2HTML = require('fb2html');
const options = {
hyphenate: true
}
const book = new FB2HTML(data);
const result = book.format();
Options
hyphenate
(boolean) - using Hyphen plugin if language present in book
Methods
getTitle()
(string)getAuthors()
(string)getGenres()
(string)getAnnotation()
(string)getCover()
(string) - url or base64 imagegetBody()
(string)getLanguage()
(string)