Gathering detailed insights and metrics for gulp-props
Gathering detailed insights and metrics for gulp-props
Gathering detailed insights and metrics for gulp-props
Gathering detailed insights and metrics for gulp-props
npm install gulp-props
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1 Stars
28 Commits
4 Forks
3 Watching
1 Branches
2 Contributors
Updated on 21 Nov 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
0%
35
Compared to previous day
Last week
-9.5%
210
Compared to previous week
Last month
28.3%
971
Compared to previous month
Last year
-21%
9,210
Compared to previous year
A Gulp plugin to convert Java .properties to JSON
1npm install --save-dev gulp-props
1const props = require('gulp-props'); 2 3// Generate a .js file with default namespace (config) 4gulp.src('./src/*.properties') 5 .pipe(props()) 6 .pipe(gulp.dest('./dist/')) 7 8// Generate a .json file indented with 2 spaces 9gulp.src('./src/*.properties') 10 .pipe(props({ namespace: '', space: 2 })) 11 .pipe(gulp.dest('./dist/')) 12 13// Generate a .js file with a custom namespace (state) 14gulp.src('./src/*.properties') 15 .pipe(props({ namespace: 'state' })) 16 .pipe(gulp.dest('./dist/'))
Type: String
Default: config
The namespace to use when defining properties. Javascript reserved words cannot be used here. Invalid identifiers will be adjusted to be valid, and a warning will be printed in the console.
Note: To force a JSON
output set this option to an empty string.
Type: Number
or String
Default: null
Control spacing in the resulting output. It has the same usage as for JSON.stringify
The option is used only when namespace option is an empty string.
Type: Function
or Array
Default: null
Further transform the resulting output. It has the same usage as for JSON.stringify
The option is used only when namespace option is an empty string.
Type: Boolean
Default: false
Append the extension (.js
or .json
) instead of replacing it.
Useful if the property file doesn't have an extension.
MIT © Cristian Trifan
No vulnerabilities found.
Reason
no vulnerabilities detected
Reason
no dangerous workflow patterns detected
Reason
all dependencies are pinned
Details
Reason
license file detected
Details
Reason
tokens are read-only in GitHub workflows
Reason
no binaries found in the repo
Reason
0 commit(s) out of 28 and 0 issue activity out of 3 found in the last 90 days -- score normalized to 0
Reason
no reviews found
Details
Reason
no badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Reason
project is not fuzzed
Reason
no update tool detected
Details
Score
Last Scanned on 2022-08-15
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