depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • packageroot— return the closest parent or current directory that contains
  • fd-package-json— Utilities for finding the closest package.json file
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/element-closest

element-closest

npmv3.0.2

Return the closest element matching a selector up the DOM tree

License CC0-1.0permissive8 versions2 maintainers0 deps233,951 weekly dl
jonathantneal/closest
59
/ 100
Health
use with caution

[email protected] low health (59/100) — consider alternatives

  • Moderate health score (59/100) — verify manually
Health breakdown0 – 100
0/25
maintenance
14/20
popularity
25/25
security
15/15
maturity
5/15
community
0/15
popularity_floor
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

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
More from npm
?semverminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

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

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

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents