ncp is a Node.js utility for recursively copying directories and files. It efficiently handles file permissions, timestamps, and symlinks, ensuring data integrity during the copy process. It offers robust error handling and can also cope with edge cases when operating systems forbid linking files. This makes ncp a dependable choice for deployment scripts, backup solutions, or any application requiring reliable file and directory duplication, when you want to also copy permissions and timestamps and are not willing to use cp -r or fs-extra.
The npm package "ncp" saw frequent releases in 2011-2015, with a high in August 2011 (6 versions). After February 2015, the package experienced a hiatus in releases. There have been no further releases since then with the latest month being September 2025.
Ncp downloads show a generally increasing trend from March 2024 to July 2025, peaking at over 20 million. August 2025 saw a decrease, and September 2025 (partial data) shows significantly lower downloads, likely due to the month being incomplete as of September 9, 2025.