Installations
npm install gulplog
Score
99.1
Supply Chain
95.9
Quality
79.4
Maintenance
100
Vulnerability
100
License
Developer
gulpjs
Developer Guide
Module System
CommonJS
Min. Node Version
>= 10.13.0
Typescript Support
Yes
Node Version
20.5.0
NPM Version
9.8.0
Statistics
56 Stars
29 Commits
10 Forks
6 Watching
1 Branches
6 Contributors
Updated on 23 Mar 2024
Bundle Size
1.63 kB
Minified
678.00 B
Minified + Gzipped
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
604,375,404
Last day
-1.6%
365,200
Compared to previous day
Last week
4.6%
2,142,995
Compared to previous week
Last month
18.6%
8,300,842
Compared to previous month
Last year
3.4%
81,661,618
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
6
gulplog
Logger for gulp and gulp plugins
Usage
1var logger = require('gulplog'); 2 3// logs strings 4logger.debug('The MOST verbose!'); 5logger.info('Some important info'); 6logger.warn('All the warnings to you'); 7logger.error('OH NO! SOMETHING HAPPENED!'); 8 9// supports util.format! 10logger.info('%s style!', 'printf'); 11 12// log anything 13logger.debug({ my: 'obj' }); 14logger.info([1, 2, 3]);
API
Logging (and level of logging) is controlled by gulp-cli
logger.debug(msg, ...args)
Highest log level. Typically used for debugging purposes.
If the first argument is a string, all arguments are passed to node's
util.format()
before being emitted.
If the first argument is not a string, all arguments will be emitted directly.
logger.info(msg, ...args)
Standard log level. Typically used for user information.
If the first argument is a string, all arguments are passed to node's
util.format()
before being emitted.
If the first argument is not a string, all arguments will be emitted directly.
logger.warn(msg, ...args)
Warning log level. Typically used for warnings.
If the first argument is a string, all arguments are passed to node's
util.format()
before being emitted.
If the first argument is not a string, all arguments will be emitted directly.
logger.error(msg, ...args)
Error log level. Typically used when things went horribly wrong.
If the first argument is a string, all arguments are passed to node's
util.format()
before being emitted.
If the first argument is not a string, all arguments will be emitted directly.
License
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/gulpjs/.github/SECURITY.md:1
- Info: Found linked content: github.com/gulpjs/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/gulpjs/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/gulpjs/.github/SECURITY.md:1
Reason
Found 5/25 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/dev.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/dev.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/dev.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/dev.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/dev.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/dev.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/dev.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/gulpjs/gulplog/release.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/dev.yml:51
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 4 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/dev.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 10 are checked with a SAST tool
Score
4.2
/10
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 MoreOther packages similar to gulplog
has-gulplog
Check if gulplog is available before attempting to use it
@userfrosting/ts-log-adapter-gulplog
An adapter for the ts-log interface that pushes logging to gulplog with optional arguments JSON encoded.
gulp-prettyerror
Display Errors in a pretty way, without breaking watch tasks
gulp-pipe-builder
A convenient pipeline with the necessary plugins installed and a simple implementation