Skip to content

Support Zstandard compression on Node.js #6790

@BasixKOR

Description

@BasixKOR

Is your feature request related to a problem? Please describe.

Node.js v23.8.0 introduced official Zstandard (zstd) support on node:zlib module: https://nodejs.org/en/blog/release/v23.8.0#support-for-the-zstd-compression-algorithm

Zstandard provides numerous benefits compared to older alternatives and considering Axios supports compression algorithms included in the zlib module, it makes sense to include zstd too.

Describe the solution you'd like

Support zstd in a same manner to Brotli and gzip.

Describe alternatives you've considered

  • Handle compression in application by combining responseType: 'arraybuffer' and decompress: false options: the application can no longer benefit from integrated decompresion provided by Axios.

Additional context/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue::enhancementThis issue is related to an enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions