Gathering detailed insights and metrics for find-yarn-workspace-root
Gathering detailed insights and metrics for find-yarn-workspace-root
Gathering detailed insights and metrics for find-yarn-workspace-root
Gathering detailed insights and metrics for find-yarn-workspace-root
Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com
npm install find-yarn-workspace-root
Typescript
Module System
Node Version
NPM Version
99.3
Supply Chain
81.3
Quality
82.7
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
560,819,852
Last Day
707,913
Last Week
3,823,213
Last Month
16,526,537
Last Year
173,873,548
Apache-2.0 License
51 Stars
88 Commits
8 Forks
2 Watchers
4 Branches
39 Contributors
Updated on Apr 21, 2025
Minified
Minified + Gzipped
Latest Version
2.0.0
Package Id
find-yarn-workspace-root@2.0.0
Size
5.98 kB
NPM Version
6.14.4
Node Version
12.16.2
Published on
Jun 11, 2020
Cumulative downloads
Total Downloads
Last Day
45%
707,913
Compared to previous day
Last Week
5.7%
3,823,213
Compared to previous week
Last Month
-5.3%
16,526,537
Compared to previous month
Last Year
16%
173,873,548
Compared to previous year
1
Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com
1yarn add find-yarn-workspace-root
1const findWorkspaceRoot = require('find-yarn-workspace-root'); 2 3const workspaceRoot = findWorkspaceRoot(__dirname); // Absolute path or null
Contributions are welcome! Just clone this repository and install the dependencies:
1git clone https://github.com/square/find-yarn-workspace-root.git 2cd find-yarn-workspace-root 3yarn
Note that you'll need node
and yarn
installed. Next, verify the tests all pass:
1yarn test
Then create a branch for your bugfix/feature, make changes and update the tests, and submit a pull request. Please do not change the version in package.json
when submitting a pull request. We determine the next version automatically based on the commits since the last release.
NOTE: Commit messages follow the Angular commit message guidelines.
To trigger a release, bump the version using standard-version
:
To update the CHANGELOG, bump the version in package.json
, and create a git tag, run:
1$(yarn bin)/standard-version
git push && git push --tags
npm publish
Copyright 2017 Square, Inc.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/5 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
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-04-28
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