# gulp-rev-html

> Static asset revisioning by appending timestamp to filenames: style.css => style.css?v=1646036823

Latest version **0.1.1** (published 2022-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-rev-html
pnpm add gulp-rev-html
yarn add gulp-rev-html
bun add gulp-rev-html
```

## 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.1.1 |
| Published | 2022-03-01 |
| First published | 2022-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | gzy |
| Maintainers | guozhenyi |
| Keywords | gulpplugin, rev, rev-html, rev-time, cache, asset, assets |

## Links

- npm: https://www.npmjs.com/package/gulp-rev-html
- Repository: https://github.com/guozhenyi/gulp-rev-html
- Homepage: https://github.com/guozhenyi/gulp-rev-html#readme
- Issues: https://github.com/guozhenyi/gulp-rev-html/issues
- npm.io page: https://npm.io/package/gulp-rev-html

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) ^2.0.5
- [plugin-error](https://npm.io/package/plugin-error.md) ^1.0.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2022-03-01
- 0.1.0 — 2022-02-28
- 0.1.0-beta — 2022-02-28

## README

# gulp-rev-html
Static asset revisioning by appending timestamp to filenames: <br>
style.css => style.css?v=1646036823<br>
index.js  => index.js?v=1646036823

## Install

npm:

```
$ npm install --save-dev gulp-rev-html
```

yarn:

```
$ yarn add --dev gulp-rev-html
```

## Usage

```js
const gulp = require('gulp');
const revHtml = require('gulp-rev-html');

function addTime() {
  return gulp.src('src/**/*.html')
    .pipe(revHtml())
    .pipe(gulp.dest('dist'));
}

exports.default = gulp.series(addTime);
```

## License

MIT

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