UNPKG

node-pkware

Version:

node.js implementation of StormLib's pkware compressor/de-compressor

16 lines 631 B
import { Explode } from '../simple/Explode.js'; import { Implode } from '../simple/Implode.js'; export function explode(input) { const instance = new Explode(input); return instance.getResult(); } export function implode(input, compressionType, dictionarySize) { const instance = new Implode(input, compressionType, dictionarySize); return instance.getResult(); } export { explode as decompress }; export { implode as compress }; // ----------------- // utils and types export { concatArrayBuffersAndLengthedDatas as concatArrayBuffers, sliceArrayBufferAt } from '../functions.js'; //# sourceMappingURL=index.js.map