node/doc/api
lluisemper b8e643259e
zlib: add dictionary support to zstdCompress and zstdDecompress
Adds optional dictionary support to zlib’s zstdCompress and
zstdDecompress APIs. This enables better compression ratios when the
dictionary matches expected input structure or content patterns.

The implementation allows passing a `dictionary` buffer through the
options object. Support was added to both streaming and convenience
methods. Tests and documentation were also updated to reflect this new
capability.

Fixes: https://github.com/nodejs/node/issues/59105
PR-URL: https://github.com/nodejs/node/pull/59240
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2025-08-04 16:13:57 +00:00
..
addons.md doc: fix c++ addon hello world sample 2024-12-09 17:43:50 +00:00
assert.md doc: add missing <code> blocks 2025-07-10 18:02:06 +00:00
async_context.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
async_hooks.md doc,tools: enforce use of node: prefix 2024-07-21 15:44:27 +00:00
buffer.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
child_process.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
cli.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
cluster.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
console.md doc: add a note on console stream behavior 2024-11-02 12:37:09 +00:00
corepack.md doc: clarify future Corepack removal in v25+ 2025-04-14 03:25:03 +00:00
crypto.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
debugger.md
deprecations.md lib: docs deprecate _http_* 2025-08-02 01:12:05 +00:00
dgram.md 2025-06-09, Version 24.2.0 (Current) 2025-06-09 23:45:29 +02:00
diagnostics_channel.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
dns.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
documentation.md doc: clarify release candidate stability index 2025-08-02 10:58:21 +00:00
domain.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
embedding.md doc: improve c++ embedder API doc 2024-11-01 03:43:53 +00:00
environment_variables.md doc: add new environment variables doc page 2025-07-20 20:53:54 +00:00
errors.md cli: add --use-env-proxy 2025-07-26 20:43:10 +00:00
esm.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
events.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
fs.md fs: port SonicBoom module to fs module as Utf8Stream 2025-07-28 20:27:07 -07:00
globals.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
http2.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
http.md http: add server.keepAliveTimeoutBuffer option 2025-08-04 13:47:09 +00:00
https.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
index.md doc: add new environment variables doc page 2025-07-20 20:53:54 +00:00
inspector.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
intl.md
module.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
modules.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
n-api.md node-api,doc: update links to ecma262 with section names 2025-07-18 12:45:52 +00:00
net.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
os.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
packages.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
path.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
perf_hooks.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
permissions.md doc: remove broken link to permission model source code 2025-07-08 05:22:36 +00:00
process.md doc: add note on process memoryUsage 2025-07-28 14:24:37 -07:00
punycode.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
querystring.md
quic.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
readline.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
repl.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
report.md 2025-01-07, Version 22.13.0 'Jod' (LTS) 2025-01-07 14:36:47 -05:00
single-executable-applications.md doc: make MDN links to global classes more consistent 2025-02-07 14:33:06 +00:00
sqlite.md 2025-07-31, Version 22.18.0 'Jod' (LTS) 2025-07-31 23:43:30 +02:00
stream.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
string_decoder.md doc: add esm examples to node:string_decoder 2024-10-26 20:36:25 +00:00
synopsis.md
test.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
timers.md 2025-06-09, Version 24.2.0 (Current) 2025-06-09 23:45:29 +02:00
tls.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
tracing.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
tty.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
typescript.md 2025-07-31, Version 22.18.0 'Jod' (LTS) 2025-07-31 23:43:30 +02:00
url.md 2025-07-31, Version 22.18.0 'Jod' (LTS) 2025-07-31 23:43:30 +02:00
util.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
v8.md 2025-06-24, Version 22.17.0 'Jod' (LTS) 2025-06-25 02:08:38 +02:00
vm.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
wasi.md doc: fix typed list formatting 2025-07-15 17:18:42 +00:00
webcrypto.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
webstreams.md doc: format safely for doc-kit 2025-07-28 20:03:37 +00:00
worker_threads.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 23:44:19 +02:00
zlib.md zlib: add dictionary support to zstdCompress and zstdDecompress 2025-08-04 16:13:57 +00:00