Installations
npm install gulp-strip-json-comments
Developer Guide
Typescript
No
Module System
ESM
Min. Node Version
>=18
Node Version
18.18.2
NPM Version
9.2.0
Score
34.5
Supply Chain
58.2
Quality
70.8
Maintenance
100
Vulnerability
99.6
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
sindresorhus
Download Statistics
Total Downloads
105,038
Last Day
51
Last Week
175
Last Month
846
Last Year
7,206
GitHub Statistics
26 Stars
30 Commits
4 Forks
6 Watching
1 Branches
3 Contributors
Bundle Size
5.97 kB
Minified
2.59 kB
Minified + Gzipped
Sponsor this package
Package Meta Information
Latest Version
5.0.0
Package Id
gulp-strip-json-comments@5.0.0
Unpacked Size
3.11 kB
Size
1.60 kB
File Count
4
NPM Version
9.2.0
Node Version
18.18.2
Publised On
01 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
105,038
Last day
27.5%
51
Compared to previous day
Last week
-15%
175
Compared to previous week
Last month
-1.5%
846
Compared to previous month
Last year
-30.5%
7,206
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Peer Dependencies
1
gulp-strip-json-comments
Strip comments from JSON with strip-json-comments
Lets you use comments in your JSON files!
Install
1npm install --save-dev gulp-strip-json-comments
Usage
1import gulp from 'gulp'; 2import stripJsonComments from 'gulp-strip-json-comments'; 3 4export default () => ( 5 gulp.src('src/config.json') 6 .pipe(stripJsonComments()) 7 .pipe(gulp.dest('dist')) 8);
API
stripJsonComments(options?)
options
Type: object
See the strip-json-comments
options.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
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
Found 2/30 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
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/gulp-strip-json-comments/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/gulp-strip-json-comments/main.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/main.yml:21
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
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 'main'
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
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Score
3.4
/10
Last Scanned on 2025-01-27
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