# gulp-stamp

> a gulp plugin for file head stamp.

Latest version **0.0.9** (published 2015-11-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-stamp
pnpm add gulp-stamp
yarn add gulp-stamp
bun add gulp-stamp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2015-11-11 |
| First published | 2015-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | oldj |
| Maintainers | oldj |
| Keywords | gulp gulp-stamp |

## Links

- npm: https://www.npmjs.com/package/gulp-stamp
- npm.io page: https://npm.io/package/gulp-stamp

## Dependencies (3)

- [gulp](https://npm.io/package/gulp.md) ~3.9.0
- [through2](https://npm.io/package/through2.md) ~2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ~3.0.7

## Recent versions

- 0.0.9 (latest) — 2015-11-11
- 0.0.8 — 2015-11-06
- 0.0.7 — 2015-11-06
- 0.0.6 — 2015-10-22
- 0.0.5 — 2015-10-22
- 0.0.4 — 2015-10-22
- 0.0.3 — 2015-10-22
- 0.0.2 — 2015-10-22
- 0.0.1 — 2015-10-22

## README

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

# usage

```js
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/'))
});
```

---
_Source: https://npm.io/package/gulp-stamp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
