Gathering detailed insights and metrics for @types/find-pkg-dir
Gathering detailed insights and metrics for @types/find-pkg-dir
Gathering detailed insights and metrics for @types/find-pkg-dir
Gathering detailed insights and metrics for @types/find-pkg-dir
The repository for high quality TypeScript type definitions.
npm install @types/find-pkg-dir
Typescript
Module System
61.1
Supply Chain
62.3
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
757
Last Day
5
Last Week
5
Last Month
14
Last Year
197
NOASSERTION License
49,999 Stars
89,698 Commits
30,433 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 05, 2025
Latest Version
2.0.2
Package Id
@types/find-pkg-dir@2.0.2
Unpacked Size
3.19 kB
Size
1.65 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
npm install --save @types/find-pkg-dir
This package contains type definitions for find-pkg-dir (https://github.com/shinnn/find-pkg-dir).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/find-pkg-dir.
1/** 2 * Find the root directory of a Node.js project from a given path. 3 * 4 * @return the path for the nearest directory to startingPath containing a 5 * package.json file or `null` if no one found. 6 * 7 * @param startingPath The path to start searching from, e.g. __dirname 8 */ 9declare function findPkgDir(dir: string): string | null; 10 11export = findPkgDir; 12
These definitions were written by David GABISON.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
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 MoreLast Day
0%
5
Compared to previous day
Last Week
150%
5
Compared to previous week
Last Month
0%
14
Compared to previous month
Last Year
-57.4%
197
Compared to previous year