fzstd
fzstd copied to clipboard
High performance Zstandard decompression in a pure JavaScript, 8kB package
Would be nice to have dictionary support.
index.html ``` ``` zstandard-test.js ``` import * as fzstd from 'https://cdn.skypack.dev/[email protected]?min'; console.time('fzstd fetch'); const compressedData = await fetch('data.bin.zst').then( res => res.arrayBuffer() ); console.timeEnd('fzstd fetch'); console.log('fzstd compressed size:', compressedData.byteLength); console.time('fzstd decompress');...
Resolves: https://github.com/101arrowz/fzstd/issues/8