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)getTranslators()
(string)getKeywords()
(string)