Gathering detailed insights and metrics for yarn-s
Gathering detailed insights and metrics for yarn-s
Gathering detailed insights and metrics for yarn-s
Gathering detailed insights and metrics for yarn-s
npm install yarn-s
Typescript
Module System
70.4
Supply Chain
98.3
Quality
75.4
Maintenance
100
Vulnerability
81.3
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
13,351
Last Day
18
Last Week
67
Last Month
329
Last Year
4,471
1 Stars
16 Commits
3 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.2.3
Package Id
yarn-s@1.2.3
Unpacked Size
80.97 kB
Size
27.86 kB
File Count
24
Cumulative downloads
Total Downloads
Last day
63.6%
18
Compared to previous day
Last week
-31.6%
67
Compared to previous week
Last month
43%
329
Compared to previous month
Last year
88.9%
4,471
Compared to previous year
yarn-s
is Run Multiple Yarn Commands In Series.
1yarn add yarn-s
The package is available by importing its default function:
1import yarnS from 'yarn-s'
async yarnS(
config: !Config,
): !Array
Run Multiple Yarn Commands In Series.
!Config
: The config.Config
: Options for the program.
Name | Type | Description |
---|---|---|
scripts* | !Array<string> | The scripts to execute. |
ScriptResult
: The result of a script.
Name | Type | Description |
---|---|---|
code* | number | The exit code. |
stdout* | string | The stdout of the program. |
stderr* | string | The stderr of the program. |
1import yarnS from 'yarn-s' 2 3(async () => { 4 const res = await yarnS({ 5 scripts: ['pass'], 6 }) 7 console.log(res) 8})()
$ node test/fixture/pass
this file is fine
[ { code: 0,
stdout: '$ node test/fixture/pass\nthis file is fine\n',
stderr: '' } ]
The package can also be used from the CLI.
Argument | Short | Description |
---|---|---|
scripts | The scripts to execute in series. | |
--help | -h | Print the help information and exit. |
--version | -v | Show the version's number and exit. |
Run Multiple Yarn Commands In Series.
yarn-s script[,script,...]
scripts The scripts to execute in series.
--help, -h Print the help information and exit.
--version, -v Show the version's number and exit.
Example:
yarn-s script-1 script-2
The program will exit with status code 1 if one of the scripts exited with non-zero code.
pass | fail |
---|---|
|
|
yarn-s pass fail
$ node test/fixture/pass
this file is fine
$ node test/fixture/fail
hello worinfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Command "fail" existed with code 1
GNU Affero General Public License v3.0
© Art Deco™ 2020 |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
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
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
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