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

Function compressZstd

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

Source from the content-addressed store, hash-verified

695}
696
697function compressZstd(options = kNullPrototype) {
698 validateObject(options, 'options');
699 return makeZlibTransform(
700 (cb, onErr) => createZstdHandle(ZSTD_COMPRESS, options, cb, onErr),
701 ZSTD_e_continue, ZSTD_e_end,
702 );
703}
704
705// ---------------------------------------------------------------------------
706// Decompression factories

Callers 9

testZstdWithParamsFunction · 0.85
testAsyncValidationFunction · 0.85
testZstdRoundTripFunction · 0.85
testZstdLargeDataFunction · 0.85
testBinaryRoundTripZstdFunction · 0.85
testEmptyInputZstdFunction · 0.85
testZstdCompatWithZlibFunction · 0.85

Calls 2

makeZlibTransformFunction · 0.85
createZstdHandleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…