pdu-static
v0.1.0
Published
pdu (parallel-disk-usage) binary for macOS, Linux and Windows
Downloads
158
Maintainers
Readme
pdu-static
Static pdu (parallel-disk-usage) binaries for macOS, Linux, and Windows.
Binaries come from the GitHub releases and are shipped as platform-specific optional dependencies (same pattern as esbuild).
Install
npm install pdu-staticUsage
const pduPath = require('pdu-static')
const { spawnSync } = require('child_process')
spawnSync(pduPath, ['.'], { stdio: 'inherit' })Packages
| Package | Platform |
| --- | --- |
| pdu-static | Main package (resolves binary path) |
| pdu-static-darwin | macOS (x64) |
| pdu-static-linux | Linux (x64) |
| pdu-static-win32 | Windows (x64) |
Bundled binary version: 0.24.0.
Developing
npm run download:pdu # fetch binaries into packages/pdu/*
npm run test:pduBinaries are committed under packages/pdu/pdu-static-* so installs do not need a postinstall download.
