Gathering detailed insights and metrics for gulp-print
Gathering detailed insights and metrics for gulp-print
Gathering detailed insights and metrics for gulp-print
Gathering detailed insights and metrics for gulp-print
This is a very basic gulp plugin that prints names of files.
npm install gulp-print
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
31 Stars
111 Commits
11 Forks
4 Watching
397 Branches
6 Contributors
Updated on 04 Jan 2024
Minified
Minified + Gzipped
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
-5.9%
5,553
Compared to previous day
Last week
1.1%
30,036
Compared to previous week
Last month
18%
126,700
Compared to previous month
Last year
-5.3%
1,451,996
Compared to previous year
4
34
This is a very basic gulp plugin that prints names of files. It's useful as a debugging tool to see which files are moving through the pipe or as a status printout.
1npm install gulp-print
1// CommonJS 2const gulp = require('gulp'); 3const print = require('gulp-print').default; 4 5// ... or ES modules 6import * as gulp from 'gulp'; 7import print from 'gulp-print'; 8 9gulp.task('print', () => { 10 gulp.src('test/*.js') 11 .pipe(print()) 12}); 13 14// ... or using custom formatter: 15 16gulp.task('print', () => { 17 gulp.src('test/*.js') 18 .pipe(print(filepath => `built: ${filepath}`)) 19}); 20 21// ... change log function 22import { setLogFunction } from 'gulp-print'; 23 24setLogFunction(message => console.log('LOG', message));
formatter
is a callback format function that passes in filepath to be printed. Callback should return a string which will be printed.1npm test
The MIT License (MIT)
Copyright 2014 Alex Gorbatchev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/5 approved changesets -- score normalized to 0
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
35 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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 Moregulp-debug
Debug Vinyl file streams to see what files are run through your Gulp pipeline
gulp-print-spacesavings
This Gulp plugin prints space savings for any Gulp compression plugin, such as gulp-uglify, gulp-clean-css, etc. Space savings is the reduction in size relative to the uncompressed size.
mute-stdout
Mute and unmute stdout.
gulp
The streaming build system.