The npm package testdouble experienced frequent releases from 2015 to 2018, peaking in March 2017. Release frequency then decreased significantly. Since 2021, releases have been sporadic, with many months having no new versions. There have been no releases in 2025 so far.
Testdouble npm package downloads show a general upward trend from March 2024 to July 2025, peaking at over 828,000 downloads. August 2025 saw a drop, and September 2025 (partial data) indicates a further significant decrease, possibly due to the month being incomplete.
testdouble.js is a test double library for JavaScript, providing a flexible and powerful alternative to traditional mocking frameworks. It focuses on behavioral verification, allowing developers to define expectations for how code interacts and ensuring those expectations are met during testing. With a clean API and comprehensive features like argument capturing and stubbing, testdouble.js simplifies the creation of robust and maintainable tests for JavaScript applications. It emphasizes a 'double-first' approach, encouraging the design of testable and modular code.