cpr is a robust and efficient tool for recursively copying directories and files in Node.js. It handles edge cases like symlinks, broken links, and file permissions gracefully. cpr ensures proper copying across different operating systems and provides options for cleaning destination directories, creating new directories with specific modes, and preserving file timestamps, mirroring cp -r functionality but with enhanced reliability for programmatic use. It simplifies directory manipulation tasks within Node.js projects.
The npm package 'cpr' saw frequent releases in its early years (2012-2017), with multiple versions in several months. Release frequency peaked in October 2012 with 6 versions. After 2017, the package experienced a significant decline in updates, with no releases from January 2018 to September 2025.
The npm package "cpr" experienced fluctuating download numbers between March 2024 and August 2025. Downloads generally increased throughout 2024, peaked in June 2025, and have decreased since then. The current month, September 2025, shows a significant drop, reflecting incomplete monthly data.