Files
Testing/html5-chat1/nodeMulti/node_modules/js-git/lib/deflate.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

11 lines
249 B
JavaScript

var pako = require('pako');
var Binary = require('bodec').Binary;
if (Binary === Uint8Array) {
module.exports = pako.deflate;
}
else {
module.exports = function deflate(value) {
return new Binary(pako.deflate(new Uint8Array(value)));
};
}