Sha256: 6685c5ae97d98c3db5e55d6d4245b8233977fc4b76015a6656e6a5c24ee05332
Contents?: true
Size: 951 Bytes
Versions: 8
Compression:
Stored size: 951 Bytes
Contents
lzma.js ======= An LZMA implementation in JavaScript, compiled from lzip using Emscripten with the goal of having a small and fast implementation as much as possible. lzip is GPL, additional code is MIT Building -------- Run doit.sh. It will build both a native build, lzma-native, and lzma.js. Both are useful because you can use the native build to compress locally, and the JS build to decompress on the client browser. But, you can use whichever you want in either location. Usage ----- LZMA.compress(data) receives an array of 8-bit data and returns an array of compressed data. LZMA.decompress(data) receives an array of compressed 8-bit data and returns an array of decompressed data. Use lzma-decoder.js if you just need to decode. It's 66K, or 23K if your webserver does gzip. If you need compression too, use lzma-full.js which is a little larger. See test-decoder.js, test-full.js and test-full.html for example uses.
Version data entries
8 entries across 8 versions & 1 rubygems