MCPcopy Index your code
hub / github.com/nodejs/node / compressDeflate

Function compressDeflate

lib/internal/streams/iter/transform.js:681–687  ·  view source on GitHub ↗
(options = kNullPrototype)

Source from the content-addressed store, hash-verified

679}
680
681function compressDeflate(options = kNullPrototype) {
682 validateObject(options, 'options');
683 return makeZlibTransform(
684 (cb, onErr) => createZlibHandle(DEFLATE, options, cb, onErr),
685 Z_NO_FLUSH, Z_FINISH,
686 );
687}
688
689function compressBrotli(options = kNullPrototype) {
690 validateObject(options, 'options');

Callers 8

testDeflateRoundTripFunction · 0.85
testDeflateLargeDataFunction · 0.85
testEmptyInputDeflateFunction · 0.85
testChainedGzipDeflateFunction · 0.85

Calls 2

makeZlibTransformFunction · 0.85
createZlibHandleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…