Home

Awesome

Bibi Zip Loader

Zip Loader for Bibi

Requiements

Usage

// LSZL is used as ES6 Class.
const lszl = new LSZL({
  url: 'https://example.com/pass/to/book.epub'
});

const promise = lsld.getBuffer('mimetype'); // returns a promise that will be resolved with an ArrayBuffer.

promise.then((buffer) => {
   // use buffer
});

Development

npm bootstrap # prepare submodules
npm install   # install dependencies
npm start     # start webpack-dev-server
npm pack      # build package