Apply the operating system's transparent per-file filesystem compression to a
file — smaller on disk, byte-identical on read, decompressed by the kernel at
near-native speed. macOS APFS (decmpfs/LZVN), Linux btrfs (zstd→lzo→zlib),
Windows NTFS (LZNT1).
This is the Node addon for decmpfs. The
prebuilt native binary ships as an optional dependency per platform
(@decmpfs/<triple>); pnpm installs only the one matching the host.
Install
npm install decmpfs
Usage
const { writeDecmpfsFile, copyDecmpfsFile } = require('decmpfs')
// Write bytes straight to an OS-compressed file — one pass, no recompress.const result = writeDecmpfsFile('data.bin', bytes)
// Compression-preserving copy (clonefile / FICLONE, or recompress).copyDecmpfsFile('data.bin', 'copy.bin')
See the repository for the full API and the
Rust crate.
Write files straight to OS transparent filesystem compression (APFS decmpfs / btrfs / NTFS) in one pass.
The npm package decmpfs receives a total of 0 weekly downloads. As such, decmpfs popularity was classified as not popular.
We found that decmpfs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.