use-onclickoutside 0.2.2
React hook for listening for clicks outside of an element.
use-onclickoutside@0.2.2 was published on 2018-11-10. Its manifest declares 1 runtime dependency and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All use-onclickoutside versions · Permanent reference to 0.2.2 · Latest release
Package specifications
| Version | 0.2.2 |
|---|---|
| License declaration | MIT |
| Published | 2018-11-10T23:56:32.628Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 6.23 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | ./dist/use-onclickoutside.esm.js |
| Default entry | ./dist/use-onclickoutside.cjs.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 494 |
| Repository forks | 27 |
Install use-onclickoutside 0.2.2
npm install use-onclickoutside@0.2.2 pnpm add use-onclickoutside@0.2.2 yarn add use-onclickoutside@0.2.2
Runtime dependencies
- are-passive-events-supported ^1.0.0
Peer requirements
- react ^16.7.0-alpha.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- are-passive-events-supported@1.1.1 — direct
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.
| Binary-Artifacts | 10/10 — no binaries found in the repo |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Security-Policy | 4/10 — security policy file detected |
| Code-Review | 1/10 — Found 3/30 approved changesets -- score normalized to 1 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 0/10 — license file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| 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/use-onclickoutside/0.2.2 — retrieved 2026-10-30T11:43:42.064Z
- https://api.deps.dev/v3/projects/github.com%2FAndarist%2Fuse-onclickoutside — retrieved 2026-10-30T08:56:29.159Z
- https://api.deps.dev/v3/systems/npm/packages/use-onclickoutside/versions/0.2.2 — retrieved 2026-10-30T11:43:42.598Z
- https://api.deps.dev/v3/systems/npm/packages/use-onclickoutside/versions/0.2.2:dependencies — retrieved 2026-10-30T11:43:42.610Z