Installations
npm install @sndrs/ok
Developer Guide
Typescript
No
Module System
N/A
Min. Node Version
>=10.17.0 <13.10.0 || >=13.11.0
Score
48.4
Supply Chain
70.9
Quality
70.9
Maintenance
50
Vulnerability
96.7
License
Releases
Security patches
Updated on Jun 11, 2021
Bump lodash from 4.17.20 to 4.17.21
Updated on May 11, 2021
fix npm
Updated on Jan 11, 2021
Add script logging
Updated on Jan 11, 2021
Support .nvmrc in a parent directory
Updated on Jan 11, 2021
Alphabetise available tasks
Updated on Nov 19, 2020
Contributors
Unable to fetch Contributors
Languages
TypeScript (91.4%)
JavaScript (8.6%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
sndrs
Download Statistics
Total Downloads
2,901
Last Day
1
Last Week
3
Last Month
27
Last Year
900
GitHub Statistics
1 Stars
87 Commits
1 Watchers
4 Branches
1 Contributors
Updated on Apr 04, 2022
Package Meta Information
Latest Version
0.3.5
Package Id
@sndrs/ok@0.3.5
Unpacked Size
8.80 kB
Size
3.18 kB
File Count
5
Total Downloads
Cumulative downloads
Total Downloads
2,901
Last Day
0%
1
Compared to previous day
Last Week
-70%
3
Compared to previous week
Last Month
35%
27
Compared to previous month
Last Year
149.3%
900
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
ok
🙇♂️ An obliging task runner
Run npm-scripts
in the correct environment without further installation or config.

Install
1$ yarn global add @sndrs/ok
or
1$ npm install -g @sndrs/ok
Then use it to run your npm-scripts
:
1$ ok test # etc...
Changes the host env as little as possible
ok
uses nvexeca behind the scenes. This means:
- it does not need to make changes to
$PATH
- it does not affect existing Node versions
- it does not affect
NVM
,fnm
etc
Follows project conventions
- uses correct Node version, observing
.nvmrc
,engines
and more - uses the correct package manager for the project (
yarn
,npm
orpnpm
)- observes
engines.npm
if present (unlike npm)
- observes
- always run tasks with up-to-date dependencies
No further dependencies
- uses its own copy of
yarn
if it cannot find one - no
nvm
/n
/fnm
etc needed
Experience
- All task output is shown – no magic
- All available scripts in current context are discoverable by running without args (
> ok
) - Notifies you if you're using out-of-date version
See also
nvexeca
:nvm
+execa

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Found 0/11 approved changesets -- score normalized to 0
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 20 are checked with a SAST tool
Reason
12 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j
- Warn: Project is vulnerable to: GHSA-36fh-84j7-cv5h
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-mpwj-fcr6-x34c
Score
1.3
/10
Last Scanned on 2025-02-03
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