depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • find-root— find the closest package.json
  • find-git-root— recursively find the closest .git/
  • find-babel-config— Find the closest babel config based on a directory
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/component-closest

component-closest

npmv1.0.1

Find the closest ancestor matching a selector string

License MITpermissive3 versions3 maintainers1 deps36,143 weekly dl
component/closest
54
/ 100
Health
use with caution

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

  • Moderate health score (54/100) — verify manually
Health breakdown0 – 100
0/25
maintenance
10/20
popularity
25/25
security
15/15
maturity
4/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

1.2 KBminified
0.5 KB gzipped
1 direct dependencies
side effects
🌟

TypeScript

0/10untyped
No type definitions available

Health History

Dependency Tree

License Audit

Dependencies (1)
component-matches-selector
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/component-closest
More from npm
semverdebugansi-stylesminimatchbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2014-07-27T22:26:46.298Z

Last updated · 2016-04-01T19:36:03.619Z

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