
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
gulp-file-activity
Advanced tools
Display activity of files as they are passed around
$ npm install --save-dev gulp-file-activity
Here is an example using Watchify:
var gulp = require('gulp');
var source = require('vinyl-source-stream');
var watchify = require('watchify');
var streamify = require('gulp-streamify');
var activity = require('gulp-file-activity');
var createBundler = function () {
return browserify('./src/index.js');
};
var rebundle = function (bundler) {
var starting = new Date();
return bundler.bundle()
.pipe(source('index.js'))
.pipe(gulp.dest('dist'))
.pipe(streamify(activity({ since: starting })))
;
}
gulp.task('scripts', function() {
var bundler = createBundler();
return rebundle(bundler);
});
gulp.task('watch', function () {
var bundler = watchify(createBundler());
var onUpdate = function () {
return rebundle(bundler);
};
bundler.on('update', onUpdate);
return onUpdate();
});
Type: boolean
Default: false
Displays the gzipped size instead.
Type: string
Default: none
Add a title to the output.
Type: Date
Default: none
For displaying some elapsed time.
MIT
FAQs
Display activity of gulp streams as they are passed around
We found that gulp-file-activity 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.