npm · npm:rewire
rewire active
Easy dependency injection for node.js unit testing
The latest stable version of rewire is 9.0.1, published on 2025-08-15. Verified by Vigia on 2026-11-12.
| Latest stable version | 9.0.1 |
|---|---|
| Published | 2025-08-15 20:18:41 UTC |
| Install | npm install rewire@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 9.0.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:49:49 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2025-08-15 20:18:41 UTC · 453 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 48 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
9.0.1 | 2025-08-15 20:18:41 UTC |
9.0.0 | 2025-07-08 23:13:06 UTC |
8.0.0 | 2025-06-03 22:46:37 UTC |
7.0.0 | 2023-08-13 20:42:16 UTC |
6.0.0 | 2021-12-19 00:38:56 UTC |
5.0.0 | 2020-03-11 10:02:40 UTC |
4.0.1 | 2018-04-24 11:36:11 UTC |
4.0.0 | 2018-04-09 23:13:09 UTC |
3.0.2 | 2017-11-20 15:00:42 UTC |
3.0.1 | 2017-11-15 14:55:25 UTC |
3.0.0 | 2017-11-11 02:51:29 UTC |
2.5.2 | 2016-07-01 10:40:51 UTC |
2.5.1 | 2015-11-30 22:39:40 UTC |
2.5.0 | 2015-11-15 21:07:17 UTC |
2.4.0 | 2015-11-07 16:16:52 UTC |
2.3.4 | 2015-06-10 11:57:53 UTC |
2.3.3 | 2015-04-27 22:48:57 UTC |
2.3.2 | 2015-04-27 22:19:53 UTC |
2.3.1 | 2015-02-23 00:50:31 UTC |
2.3.0 | 2015-02-17 00:18:20 UTC |
Showing the 20 most recent of 48 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 9.0.1 |
node 18 | 9.0.1 |
node 20 | 9.0.1 |
node 22 | 9.0.1 |
node 24 | 9.0.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of rewire?
The latest stable version of rewire is 9.0.1, published on 2025-08-15. Verified by Vigia on 2026-11-12.
How do I install the latest version of rewire?
Run npm install rewire@latest. The latest stable version is 9.0.1 (verified 2026-11-12).
Is rewire deprecated?
No. rewire is not marked as deprecated in the registry.
Which Node.js version does rewire require?
rewire 9.0.1 does not declare a Node.js version requirement.
Does rewire 9.0.1 have known vulnerabilities?
No known advisories affect rewire 9.0.1 according to the data Vigia checks.
Is rewire still maintained?
rewire published 0 stable releases in the last 12 months; the most recent was 453 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @material/focus-ring
- fs-merger
- @stdlib/assert-is-object-like
- node-fetch-npm
- @types/gapi.auth2
- @zag-js/listbox
- ts-prune
- @sveltejs/adapter-node
- hash-stream-validation
- @zag-js/i18n-utils
- @stdlib/constants-uint32-max
- @lerna/filter-packages
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/rewire) [](https://vigia.coredls.cloud/npm/rewire) [](https://vigia.coredls.cloud/npm/rewire)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/rewire
GET https://vigia.coredls.cloud/v1/packages/npm/rewire/versions/{version}