New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gulp-stamp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-stamp

a gulp plugin for file head stamp.

latest
npmnpm
Version
0.0.9
Version published
Weekly downloads
9
350%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-stamp is a gulp plugin to add stamp in head of js/css files if they were changed.

usage

var gulp = require('gulp');
var uglify = require('gulp-uglify');
var stamp = require('gulp-stamp');
var moment = require('moment');

gulp.task('scripts', function () {
    var time_stamp = '/* ' + moment().format('YYYY-MM-DD HH:mm:ss') + ' */\n';
    gulp.src(['src/**/*.js'])
        .pipe(uglify())
        .pipe(stamp('build/', time_stamp))
        .pipe(gulp.dest('build/'))
});

Keywords

gulp gulp-stamp

FAQs

Package last updated on 11 Nov 2015

Did you know?

Socket

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.

Install

Related posts