prefers-yarn
MITDetect the package manager (npm, yarn, pnpm, bun) a project prefers: user-agent, lockfile, packageManager field, corepack, and Windows-safe command resolution.
84
Security score
0 known advisories in v2.0.2
OpenSSF Scorecard 4.8/10
Weekly downloads
—
Unpacked size
41.2 kB
Dependencies
0
Last publish
1 month ago
Security advisories
No known vulnerabilities affect v2.0.2.
OpenSSF ScorecardJul 20, 2026
- Maintained10
- Code-Review0
- Binary-Artifacts10
- Dangerous-Workflow10
- Token-Permissions0
- SAST0
- Pinned-Dependencies0
- CII-Best-Practices0
- Fuzzing0
- License10
- Packaging10
- Branch-Protection0
- Security-Policy10