Node.js Simple File Copy Utility

JSON →
library 0.2.0 ·javascript abandoned
verified May 27, 2026

The `cp` package is a lightweight Node.js utility designed for straightforward file copying, offering both asynchronous callback-based and synchronous APIs. Its current stable version is 0.2.0, with the last notable activity and publication on npm dating back to November 2014. Due to its age and lack of maintenance over many years, this package is considered abandoned. It was initially differentiated by its simplicity and direct approach to file operations, contrasting with more feature-rich but potentially complex alternatives or the direct use of Node.js's native `fs` module. The asynchronous API primarily uses callbacks, although the README mentions `yield cp(src, dest)`, indicating a pattern likely intended for use with generator-based flow control libraries (like `co`) that were common before native `async/await` became widespread. The package does not natively support modern promise-based or `async/await` patterns, which are now standard in Node.js.

total hits 29
actors 9 distinct systems
last hit 4d ago ByteDance
ByteDance
10
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France