Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
gulp-awspublish-headers
Advanced tools
A plugin for defining per-file headers for gulp-awspublish.
const awsheaders = require('gulp-awspublish-headers');
gulp.task('publish', function() {
const publisher = awspublish.create(/*...*/);
return gulp.src('./public/**/*')
.pipe(awsheaders({
'path/to/**/*': {
'Cache-Control': 'public, max-age=604800',
'x-amz-meta-foo': 'bar',
},
}))
.pipe(publisher.publish());
});
Files may match multiple paths in which case the headers will be merged with the later defined headers taking prescedence.
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install gulp-awspublish-headers --save
BSD-3-Clause
FAQs
Define per-file headers for gulp-awspublish.
The npm package gulp-awspublish-headers receives a total of 35 weekly downloads. As such, gulp-awspublish-headers popularity was classified as not popular.
We found that gulp-awspublish-headers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.