# gulp-src

> Get files or dependencies from YAML file (.yml)

Latest version **1.0.0** (published 2016-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-src
pnpm add gulp-src
yarn add gulp-src
bun add gulp-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.0 |
| Published | 2016-09-21 |
| First published | 2016-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matthieu Poletti |
| Maintainers | matp |
| Keywords | gulpplugin, gulp, yaml, yml, sources, gulp-sources, source |

## Links

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

## Dependencies (4)

- [fs](https://npm.io/package/fs.md) 0.0.1-security
- [path](https://npm.io/package/path.md) ^0.12.7
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.6.1
- [through2](https://npm.io/package/through2.md) ^2.0.0

## Alternatives

- [monaco-yaml](https://npm.io/package/monaco-yaml.md) — 420.1K weekly downloads
- [@crewx/workflow](https://npm.io/package/@crewx/workflow.md) — 3.1K weekly downloads
- [yaml-cat](https://npm.io/package/yaml-cat.md) — 38 weekly downloads
- [nunjucks-in-yaml](https://npm.io/package/nunjucks-in-yaml.md) — 9 weekly downloads
- [shopify-symlinks](https://npm.io/package/shopify-symlinks.md) — 3 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-09-21

## README

# gulp-src

## A Gulp plugin for get files or dependencies from YAML file (.yml)

Usage in gulpfile.js:
```javascript
gulp.task('source', function() {
    var sources = gulp.src('source.yml')
        .pipe(source())
        .pipe(gulp.dest('./app'));

    return gulp.src('./app/index.html')
        .pipe(inject(sources, {relative: true}))
        .pipe(gulp.dest('./app'));
});
```

And in source.yml:
```YAML
scripts:
  - node_modules/jquery/dist/jquery.min.js

#styles:
  # your stylesheets here...

# you can add any other folder
```

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