Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 image
  • getBody() (string)
  • getLanguage() (string)
  • getTranslators() (string)
  • getKeywords() (string)

About

Converter from FB2 books to HTML

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages