Zstd

0.1.0

Zstandard (zstd) compression as PowerShell cmdlets, with libzstd 1.5.7, the reference implementation, compiled into the module. Compress-Zstd compresses files, or the bytes piped to it, each into one zstd frame that carries a content checksum, at levels 1 to 22 and on up to 256 worker threads. Expand-Zstd expands every frame of a file or of piped bytes, and refuses da
Zstandard (zstd) compression as PowerShell cmdlets, with libzstd 1.5.7, the reference implementation, compiled into the module. Compress-Zstd compresses files, or the bytes piped to it, each into one zstd frame that carries a content checksum, at levels 1 to 22 and on up to 256 worker threads. Expand-Zstd expands every frame of a file or of piped bytes, and refuses data that is truncated, fails its checksum or names another dictionary. New-ZstdDictionary trains a dictionary from sample files, which both other cmdlets take, and -MaxMemory bounds everything a compression or an expansion commits. Bound directly to Rust with PoWerRuSt (pwrs), Rust bindings for writing PowerShell binary modules in the spirit of PyO3: the cmdlets are the library, not a wrapper over a command line. Windows x64 and Arm64 in one module, on PowerShell 7.4 or later and Windows PowerShell 5.1, with no Visual C++ Redistributable needed. Source and issues at https://github.com/Variably-Constant/Zstd; the binding framework at https://github.com/Variably-Constant/PWRS and https://crates.io/crates/PoWerRuSt.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Zstd

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Zstd

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Mark Newton

Package Details

Author(s)

  • Mark Newton

Tags

pwrs powershell zstd zstandard compression Windows

Cmdlets

Compress-Zstd Expand-Zstd New-ZstdDictionary

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

The first release: Compress-Zstd, Expand-Zstd and New-ZstdDictionary. What is in it: https://github.com/Variably-Constant/Zstd/blob/main/CHANGELOG.md

FileList

Version History

Version Downloads Last updated
0.1.0 (current version) 10 9/29/2026