Epub.js is an open-source Javascript library that allows any web page to render Epub documents on any device with a modern browser. Epub.js contains a flexible rendering engine and provides a simple interface for common ebook functions such as styling, persistence and pagination. We release and maintain Epub.js on GitHub, with a growing developer community. Just include a single javascript file, and pointing it at a hosted epub. Epub.js provides an interface for common ebook functions (such as rendering, persistence and pagination) without the need to develop a dedicated application or plugin. Importantly, it has an incredibly permissive Free BSD license. The EPUB standard is a widely used and easily convertible format. Many books are currently in this format, and it is convertible to many other formats (such as PDF, Mobi and iBooks).
Features
- Create the new ePub, and then render it to that element
- The default manager only displays a single section at a time
- The continuous manager will display as many sections as need to fill the screen
- Enables seamless swiping/scrolling between pages on mobile and desktop
- Scripted content, JavasScript the ePub HTML content
- Incredibly permissive Free BSD license