# gulp-add-files

> Create new files from strings or objects and put it into stream

Latest version **1.0.0** (published 2019-07-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install gulp-add-files
pnpm add gulp-add-files
yarn add gulp-add-files
bun add gulp-add-files
```

## 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 | 2019-07-29 |
| First published | 2019-07-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Palchikovskiy |
| Maintainers | alexpalchikovskiy |
| Keywords | gulp, plugin, gulpplugin, string, file, files, create, add |

## Links

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

## Dependencies (2)

- [vinyl](https://npm.io/package/vinyl.md) ^2.2.0
- [through2](https://npm.io/package/through2.md) ^3.0.1

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-07-29

## README

# gulp-add-files

Create new files from strings or objects and put it into stream for using gulp pipe

## Installation

```sh
npm i gulp-add-files --save-dev
```

## Usage example

```javascript
const gulp = require( 'gulp' );
const files = require( 'gulp-add-files' );

gulp.task( 'new-files', function() {
   
    let str = { key: 'value' };

    return files( [ 
        {
            name: 'file.json', 
            content: str
        },
        {
            name: 'html/index.html', 
            content: '<html></html>'
        }
    ] )
    .pipe( gulp.dest( 'dist' ) );

});
```

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