Gathering detailed insights and metrics for @domp/closest
Gathering detailed insights and metrics for @domp/closest
Gathering detailed insights and metrics for @domp/closest
Gathering detailed insights and metrics for @domp/closest
npm install @domp/closest
Typescript
Module System
Node Version
NPM Version
70.9
Supply Chain
71.4
Quality
75.7
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
2 Stars
316 Commits
1 Watchers
11 Branches
1 Contributors
Updated on Mar 08, 2023
Latest Version
0.5.0
Package Id
@domp/closest@0.5.0
Unpacked Size
38.72 kB
Size
7.58 kB
File Count
24
NPM Version
8.19.2
Node Version
19.0.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Select all closest ancestor to a DOM node matching an optional criteria
1import closest from '@domp/closest' 2 3closest(el, selector, stop)
Like lodash, @domp wraps the regular functions to produce a auto-curried,
iteratee-first and data-last version. Currently the last, optional argument
(stop
) is not available in the FP version.
1import closest from '@domp/closest/fp' 2 3closest(selector)(el) 4 5// or 6 7closest(selector, el)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
46 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More