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
Supply Chain
62.3
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
750
Last Day
1
Last Week
3
Last Month
17
Last Year
194
NOASSERTION License
49,715 Stars
89,373 Commits
30,386 Forks
640 Watchers
7 Branches
9,955 Contributors
Updated on May 12, 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
Last Day
-75%
1
Compared to previous day
Last Week
-40%
3
Compared to previous week
Last Month
112.5%
17
Compared to previous month
Last Year
-61%
194
Compared to previous year
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
all changesets reviewed
Reason
30 commit(s) and 0 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
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-05-05
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