clone provides deep and shallow cloning of JavaScript objects and arrays. It handles circular references and Date, RegExp, and Buffer objects correctly. The module offers options for controlling cloning behavior, such as whether to clone prototype properties or to use prototype chain. It is a small and lightweight package useful for creating copies of complex data structures without unintended modifications.
The npm package "clone" had frequent releases between 2011 and 2018, with the highest activity in 2011-2015, during which the package reached version 2.1.2. After March 2018, there have been no further releases as of September 13, 2025.
The npm package "clone" experienced fluctuating downloads between March 2024 and September 2025. Downloads generally increased, peaking in June and July 2025 around 196 million. August 2025 saw a decrease, and September 2025 (partial data) shows a significant drop, possibly due to incomplete month data.