Skip to content

Dictionary support for zstd #59105

Description

@WiiExpertise

What is the problem this feature will solve?

zstd decompression does not work for archives that initially used a compression dictionary, as there is no way to input a dictionary when calling the function in Node's zlib library. This leads to dictionary wrong errors when attempting to decompress.

What is the feature you are proposing to solve the problem?

Include the ability to use zstd's dictionary feature when calling for zstd (de)compression using the zlib library functions.

What alternatives have you considered?

Using existing community modules for zstd, but these often use much older versions of zstd.

Activity

  1. lluisemper commented on Jul 24, 2025

    @lluisemper
    Contributor

    I saw this feature request is still awaiting triage, but I'd love to start looking into it as a learning opportunity even if it doesn't end up going ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions