open-index/open-npm huggingface dataset:
npm package: @recranet/gulp-touch
Description: A gulp plugin to update file modification timestamps.
Latest version: 1.0.0

# @recranet/gulp-touch

A gulp plugin to update file modification timestamps. Compatible with gulp 4 and 5.

## Installation

```bash
npm install @recranet/gulp-touch
```

## Usage

```js
const gulp = require('gulp');
const touch = require('@recranet/gulp-touch');

exports.default = function () {
    return gulp.src('src/**/*')
        .pipe(touch())
        .pipe(gulp.dest('dist'));
};
```

## What it does

Updates the `mtime` (modification time) on each file's `stat` object to the current time. It does not modify files on disk directly, instead it updates the timestamp on the in-memory file stream so that `dest()` writes the file with the updated modification time.

## License

MIT