# gulp-nosubfolders

> Remove all the subfolders structure from the files on the pipe so you can save all of them in one location

Latest version **1.0.0** (published 2015-10-27) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2015-10-27 |
| First published | 2015-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jair Reina |
| Maintainers | jaireina |
| Keywords | subfolders, nosubfolders, subfolder, structure, remove |

## Links

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

## Dependencies (1)

- [through2](https://npm.io/package/through2.md) ^2.0.0

## Recent versions

- 1.0.0 (latest) — 2015-10-27

## README

#gulp-nosubfolders

## Information

<table>
<tr>
<td>Package</td><td>gulp-nosubfolders</td>
</tr>
<tr>
<td>Description</td>
<td>Remove all the subfolders structure from the files on the pipe so you can save all of them in one location</td>
</tr>
<tr>
<td>Node Version</td>
<td>>= 0.10</td>
</tr>
</table>

## Install
```
npm install gulp-nosubfolders
```

## Usage

By default gulp.dest keeps all the subfolder structure of the files coming through the pipe. So you can use this module to get a structure like this:

```
└── js
    ├── app.js
    ├── helper.js
    └── vendor
        ├── jquery.js
        └── bootstrap.js
```
and turn it into this:

```
├── app.js
├── helper.js
├── jquery.js
└── bootstrap.js
```

With this code:

```js
var nosubfolders = require('gulp-nosubfolders');

gulp.task('default', function() {
  return gulp
  				.src('./js/**')
  				.pipe(nosubfolders())
  				.pipe(gulp.dest('./my/dest/path'));
});
```

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