Gathering detailed insights and metrics for gulp-spawn
Gathering detailed insights and metrics for gulp-spawn
Gathering detailed insights and metrics for gulp-spawn
Gathering detailed insights and metrics for gulp-spawn
npm install gulp-spawn
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
62 Commits
1 Forks
2 Watchers
2 Branches
1 Contributors
Updated on Oct 16, 2023
Latest Version
2.0.0
Package Id
gulp-spawn@2.0.0
Unpacked Size
14.34 kB
Size
3.92 kB
File Count
9
NPM Version
9.2.0
Node Version
19.2.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
4
Plugin to spawn a CLI program for piping with gulp. Uses spawn.
gulp-spawn options follow
child_process.spawn
conventions.
Not all CLI programs support piping. In fact, many newer ones don't. Some programs require that you pass certain arguments if you intend to use stdin and/or stdout. Please check the documentation of the program you intend to use to ensure piping is supported.
The following example pipes image files to ImageMagick's convert
. In the case
of convert
, you must specify a -
before arguments and after arguments if
you wish to use stdin and stdout, respectively.
1import spaw from "gulp-spawn"; 2 3// example using ImageMagick's convert 4// setting "buffer: false" optional but recommended for heavy I/O 5gulp 6 .src("./src/images/*.{jpg,png,gif}", { buffer: false }) 7 .pipe( 8 spawn({ 9 cmd: "convert", 10 args: ["-", "-resize", "50%", "-"], 11 // optional 12 opts: { cwd: "." }, 13 filename: function (base, ext) { 14 return base + "-half" + ext; 15 }, 16 }) 17 ) 18 .pipe(gulp.dest("./dist/images/"));
If you write spawn programs please consider taking the time to support stdin & stdout. Piping is one of the many reasons UNIX systems have endured the test of time.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/27 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
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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