istanbul-lib-instrument provides core instrumentation functionality for JavaScript code coverage analysis. It's used to add code instrumentation to JavaScript files, enabling tracking of statement, branch, and function execution during test runs. istanbul-lib-instrument forms the basis for other Istanbul-based coverage tools (like nyc and istanbul), offering fine-grained control over instrumentation options and sourcemap handling. This library is critical for generating detailed coverage reports, helping developers pinpoint untested portions of their codebase.
The npm package istanbul-lib-instrument experienced frequent releases from August 2016 to October 2018, with occasional releases afterward. There were periods of intense activity followed by months with no releases. Releases became sparse after 2018, with only a few versions published per year and longer periods of inactivity.
Istanbul-lib-instrument downloads show a generally increasing trend from March 2024 to July 2025, peaking at over 300 million. There was a significant surge in downloads between May and June 2025. September 2025 has substantially lower downloads, likely due to incomplete data for the month.