1.0.10 • Published 5 years ago
fb2html v1.0.10
Install
npm install fb2html --saveExample
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)