HEX
Server: Apache/2.4.61 (Ubuntu)
System: Linux hosting106 7.0.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 7.0.12-1 (2026-06-09T21:07Z) x86_64
User: clinicadentalargarate.com (1193)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/cursos.ril.es/node_modules/laravel-elixir/node_modules/vinyl-paths/readme.md
# vinyl-paths [![Build Status](https://travis-ci.org/sindresorhus/vinyl-paths.svg?branch=master)](https://travis-ci.org/sindresorhus/vinyl-paths)

> Get the file paths in a [vinyl](https://github.com/wearefractal/vinyl) stream

Useful when you need to use the file paths from a gulp pipeline in vanilla node module.


## Install

```sh
$ npm install --save vinyl-paths
```


## Usage

```js
// gulpfile.js
var gulp = require('gulp');
var stripDebug = require('gulp-strip-debug');
var del = require('del');
var vinylPaths = require('vinyl-paths');

gulp.task('delete', function () {
	return gulp.src('app/*')
		.pipe(stripDebug())
		.pipe(vinylPaths(del));
});

// or if you need to use the paths after the pipeline
gulp.task('delete2', function (cb) {
	var vp = vinylPaths();

	gulp.src('app/*')
		.pipe(vp)
		.pipe(gulp.dest('dist'))
		.on('end', function () {
			del(vp.paths, cb);
		});
});
```

*You should only use vanilla node module like this if you're already using other plugins in the pipeline, otherwise just use the module directly as `gulp.src` is costly.*


## API

### vinylPaths([callback])

The optionally supplied callback will get a file path for every file and is expected to call the callback when done. An array of the file paths so far is available as a `paths` property on the stream.

#### callback(path, cb)


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)