ncp - Asynchronous Recursive Copy
JSON →ncp is an asynchronous recursive file and directory copying utility for Node.js, designed to mimic the `cp -r` command but with a pure JavaScript, non-blocking implementation. The current stable version, 2.0.0, as indicated in the prompt, has not seen active development for many years (last commit 6 years ago on GitHub), suggesting it is an abandoned project with no current release cadence. Its key differentiators include a programmatic API that allows for fine-grained control over the copying process, such as setting a global concurrency limit, filtering files via regular expressions or custom functions, applying streaming transformations during the copy, and flexible error handling (either stopping on the first error or continuing while logging all errors). It offers an entirely asynchronous approach to file system operations, which was a significant advantage in early Node.js environments for non-blocking I/O compared to synchronous `cp -r` alternatives.
Traffic · last 30 days ↓67% vs prev 7d
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France