focus-trap

npmv8.1.0

Trap focus within a DOM node.

License MITpermissive93 versions3 maintainers1 deps4,258,854 weekly dl
focus-trap/focus-trap
86
/ 100
Health
safe to use

[email protected] is safe to use (health: 86/100)

Health breakdown0 – 100
25/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
4/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

21.6 KBminified
7.4 KB gzipped
1 direct dependencies
ESM
🌟

TypeScript

10/10typed
bundled
Quality signals
Publish security
npm signed

Health History

Dependency Tree

License Audit

Dependencies (1)
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/focus-trap

First published · 2015-08-16T22:30:02.978Z

Last updated · 2026-04-24T14:34:37.795Z