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

Function compressDeflateSync

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

Source from the content-addressed store, hash-verified

751}
752
753function compressDeflateSync(options = kNullPrototype) {
754 validateObject(options, 'options');
755 return makeZlibTransformSync(
756 (cb, onErr) => createZlibHandle(DEFLATE, options, cb, onErr),
757 Z_NO_FLUSH, Z_FINISH,
758 );
759}
760
761function compressBrotliSync(options = kNullPrototype) {
762 validateObject(options, 'options');

Callers 2

testDeflateRoundTripFunction · 0.85
testDeflateLargeDataFunction · 0.85

Calls 2

makeZlibTransformSyncFunction · 0.85
createZlibHandleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…