daviddrysdale / jsebook

JavaScript library for processing .mobi ebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsebook Library

Current Status: very incomplete, under development

This project is a JavaScript library that reads MOBI (.mobi) format eBooks and converts them to HTML.

Note that Amazon Kindle files (.azw, .azw3) are in an encrypted MOBI format, so do not work with this library as-is.

Basic Library Use

Feed binary string data with the contents of the .mobi file to the MobiBook constructor, and extract the corresponding HTML with the .html property:

var book = new MobiBook(data);
var htmlData = book.html;

Other Properties

TODO: when other useful public properties are added to the MobiBook object describe them here.

About

JavaScript library for processing .mobi ebooks

License:MIT License


Languages

Language:JavaScript 95.3%Language:CSS 3.0%Language:HTML 1.7%Language:Makefile 0.1%