npm i --save nativescript-epub
- Version: 0.1.0
- GitHub: https://github.com/sean-perkins/nativescript-epub
- NPM: https://www.npmjs.com/package/nativescript-epub
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
NativeScript ePub Reader Plugin
NativeScript plugin to open and read ePub files natively. Currently only supported on iOS.
Getting Started
npm install nativescript-pdf
- Place your
epub
files in yourApp_Resources/iOS
directory. - Import
EPubReader
in your page and open the file.
Code Sample
import {Observable} from 'data/observable';
import {EPubReader} from 'nativescript-epub';
export class HelloWorldModel extends Observable {
constructor() {
super();
let epubReader = new EPubReader();
epubReader.open('book');
}
}
Example
Credits
- https://github.com/FolioReader/FolioReaderKit