0.9.0 • Published 4 years ago

bibi-zip-loader v0.9.0

Weekly downloads
6
License
MIT
Repository
-
Last release
4 years ago

Bibi Zip Loader

Zip Loader for Bibi

Requiements

  • Rust 1.34
  • Binaryen brew install binaryen --HEAD
  • wasm-pack cargo install wasm-pack
  • Node 8

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
0.9.0

4 years ago

0.9.1

4 years ago

0.7.0

4 years ago