# gulp-virtual-src

> Source virtual gulp files through a constructor function

Latest version **1.0.1** (published 2020-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-virtual-src
pnpm add gulp-virtual-src
yarn add gulp-virtual-src
bun add gulp-virtual-src
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-01-25 |
| First published | 2020-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Noah-Jerome Lotzer |
| Maintainers | nolotz |
| Keywords | gulp, virtual, source, src, func, function |

## Links

- npm: https://www.npmjs.com/package/gulp-virtual-src
- Repository: github.com/nolotz/gulp-virtual-src
- npm.io page: https://npm.io/package/gulp-virtual-src

## Dependencies (2)

- [vinyl](https://npm.io/package/vinyl.md) ^2.2.0
- [to-through](https://npm.io/package/to-through.md) ^2.0.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-01-25
- 1.0.0 — 2020-01-25

## README

# Gulp Virtual Source

Create virtual gulp files through a constructor function instead of the usually used `gulp.src()`.


## How to use it?

`npm install gulp-virtual-src`

```js
// gulpfile.js
import gulp from 'gulp'
import virtualSrc from 'gulp-virtual-src'

function dynamicTask() {
    return virtualSrc(
        [
            () => ['readme.md', `# Welcome`]
        ]
    )
        .pipe(anotherGulpPlugin())
        .pipe(gulp.dest('myDestination/'))
}
```

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