Loading package details...
v1.2.0
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic).
Defines the macros defer!, defer_on_unwind!, defer_on_success! as
shorthands for guards with one of the implemented strategies.
npm install scopeguard@1.2.0[](https://gold.safeguard.sh/package/r/scopeguard)Meets the Gold bar from automated verification.
Last indexed: 2026-07-12T16:04:06Z
How Gold is determined →OpenSSF Scorecard rates this project's security posture — supply-chain hygiene, maintenance, and review practices.
Source: OpenSSF Scorecard · scored 2026-07-20
No dependencies - This package is self-contained!