Skip to content

Dictionary support for zstd #59105

@WiiExpertise

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    Status

    Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions