Skip to content
No description, website, or topics provided.
TypeScript Rust JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
static
wasm
.gitignore
.release-it.js
CHANGELOG.md
LICENSE
README.md
babel.config.js
package-lock.json
package.json
tsconfig.json
tsconfig.lszlw.json
tsconfig.serve.json
webpack.config.js
webpack.config.lszl.js
webpack.config.lszlw.js

README.md

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
You can’t perform that action at this time.