The npm package proxyquire experienced frequent releases from 2012 to 2019, with peaks in 2012 and 2015. After 2019, the release frequency declined significantly, with no releases occurring from January 2020 to August 2025, based on the provided data.
proxyquire is a powerful Node.js module stubbing library for unit testing. It allows you to override dependencies in your modules with stubs, mocks, or spies, providing granular control over module behavior during tests. This enables isolated testing by eliminating external dependencies and making it easy to simulate various scenarios and edge cases. Use proxyquire to replace dependencies like database connections, file systems, or other modules with controlled substitutes, ensuring repeatable and predictable test results.
Proxyquire's npm downloads show a generally upward trend from March 2024 to July 2025, peaking at over 4.7 million. August 2025 saw a decline, and September 2025 is significantly lower, likely reflecting incomplete monthly data as it's only the 11th.