exit-hook 3.1.2
Run some code when the process exits
exit-hook@3.1.2 was published on 2022-10-22. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^12.20.0 || ^14.13.1 || >=16.0.0.
All exit-hook versions · Permanent reference to 3.1.2 · Latest release
Package specifications
| Version | 3.1.2 |
|---|---|
| License declaration | MIT |
| Published | 2022-10-22T09:14:38.277Z |
| Node.js requirement | ^12.20.0 || ^14.13.1 || >=16.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 0 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 10.67 KiB |
| Published file count | 5 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | 301 |
| Repository forks | 42 |
Install exit-hook 3.1.2
npm install exit-hook@3.1.2 pnpm add exit-hook@3.1.2 yarn add exit-hook@3.1.2
Runtime dependencies
- None declared
Peer requirements
- None declared
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Code-Review | 2/10 — Found 8/30 approved changesets -- score normalized to 2 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/exit-hook/3.1.2 — retrieved 2026-11-01T05:22:19.193Z
- https://api.deps.dev/v3/projects/github.com%2Fsindresorhus%2Fexit-hook — retrieved 2026-11-01T04:16:38.751Z