Skip to content

Suggestion: Add Support for Zstd, LZ4, and Other Modern Codecs via 7-Zip-zstd #6

@yjdyamv

Description

@yjdyamv

Hello,

First of all, thank you for creating this fantastic JS package! It has been instrumental in allowing me to build a universal (de)compression VSCode extension, Smart Archive, aimed at delivering a seamless experience for as many algorithms as possible.

During development, I discovered that while the current package supports the decompression of archives using modern algorithms like Zstd and LZ4, it lacks the ability to compress files using these same methods. This means that to offer my users the ability to create archives in these formats, I'd have to rely on additional, separate libraries. This feels a bit inelegant and adds complexity to the project.

I believe this would be a highly valuable and differentiating feature for your project.

As a potential way to implement this, I'd like to suggest looking into the 7-Zip-zstd fork by mcmilk. This fork is a well-maintained enhancement of the official 7-Zip that adds native, first-class support for Zstandard, Brotli, LZ4, LZ5, Lizard, and Fast LZMA2. Adopting its codec library could be a very efficient way to add these modern compression algorithms.

Thank you for your time and for considering this feature request. I'm excited to see how this project evolves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions