cp-cli is a Node.js CLI tool that replicates the UNIX cp command for cross-platform file and directory copying. Current stable version is 2.0.0, which exits with code 1 on error instead of 0 as in prior versions. It is a lightweight alternative to shell commands or more complex build tools, with no runtime dependencies after installation (only dev deps). Release cadence is irregular; the last release was v2.0.0 with a breaking change in exit code behavior.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The package is an ESM module since v2.0.0. Use import instead of require.
The package exports a default function, not a named export.
For CLI usage, install globally or use npx. Not a node require() use case.
The -d flag enables dereferencing symlinks, but both forms work. Only listing -d as common shorthand.
Demonstrates global installation and common copy operations using cp-cli CLI.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.