@opossum/node
When things start failing, opossum plays dead and fails fast. If you want, you can provide a fallback function to be executed when in the failure state.
Official Documentation ↗v10.0.0. Check the official docs for the latest API surface.Installation
npm install opossumpnpm add opossumyarn add opossumMethods
No methods match this filter.
Overview
When things start failing, opossum plays dead and fails fast. If you want, you can provide a fallback function to be executed when in the failure state.
API reference status
This page lists only entry points that appear verbatim in the official README examples: CircuitBreaker, makeNode, resolve. Parameter and return types are not given by the official README, so signatures are marked unverified.
Errors
The following points are quoted verbatim from the official documentation. 来源:https://cdn.jsdelivr.net/gh/nodeshift/opossum@latest/README.md · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:51:21.255Z. Any error type, throw condition or recovery step not stated there is left unspecified; this page does not infer exception classes or return values.
- When things start failing, opossum plays dead and fails fast. (https://cdn.jsdelivr.net/gh/nodeshift/opossum@latest/README.md)
- If the action fails or times out, it immediately re-enters the open state. (https://cdn.jsdelivr.net/gh/nodeshift/opossum@latest/README.md)
- The default error threshold is 50%, so in this case, the circuit would not open. (https://cdn.jsdelivr.net/gh/nodeshift/opossum@latest/README.md)
Verification notes
- Official source: https://github.com/nodeshift/opossum
- Evidence: https://cdn.jsdelivr.net/gh/nodeshift/opossum@latest/README.md
- Checked on 2026-11-04 by
scripts/phase11/build-api-profiles.mjs
FAQ
- What does opossum do?
- When things start failing, opossum plays dead and fails fast.
- How do I install opossum?
- Run `npm install opossum`.
- Where can I verify the API details?
- Official repository/documentation: https://github.com/nodeshift/opossum. Checked on 2026-11-04; signatures and return values not stated in the official README are marked unverified.
Report a problem with this API docOpens a pre-filled issue on GitHub.