element-closest

npmv3.0.2

Return the closest element matching a selector up the DOM tree

License CC0-1.0permissive8 versions2 maintainers0 deps244,931 weekly dl
jonathantneal/closest
57
/ 100
Health
safe to use

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

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

Bundle & TypeScript

📦

Bundle Size

0.6 KBminified
0.3 KB gzipped
0 direct dependencies
ESMside effects
🌟

TypeScript

7/10typed
Types from @types/element-closest (DefinitelyTyped)

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/element-closest

First published · 2015-06-08T12:59:54.443Z

Last updated · 2019-10-31T05:37:58.579Z