# gulp-flow-js

> JS bundle for gulp-flow.

Latest version **1.1.1** (published 2016-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-flow-js
pnpm add gulp-flow-js
yarn add gulp-flow-js
bun add gulp-flow-js
```

## 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.1.1 |
| Published | 2016-03-24 |
| First published | 2016-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nicolas Tallefourtane |
| Maintainers | nicolab |
| Keywords | gulp, gulpfriendly, gulp-flow-bundle, workflow, task, plugin, bundle, uglify, js |

## Links

- npm: https://www.npmjs.com/package/gulp-flow-js
- Repository: https://github.com/gulp-flow/gulp-flow-js
- Issues: https://github.com/gulp-flow/gulp-flow-js/issues
- npm.io page: https://npm.io/package/gulp-flow-js

## Dependencies (1)

- [gulp-uglify](https://npm.io/package/gulp-uglify.md) ^1.5.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-03-24
- 1.1.0 — 2016-03-18
- 1.0.0 — 2016-02-07

## README

# gulp-flow-js

JS bundle for [gulp-flow](https://github.com/gulp-flow/gulp-flow).

See also [gulp-flow-webpack](https://github.com/gulp-flow/gulp-flow-webpack).


## Requirements

 * [gulp-flow](https://github.com/gulp-flow/gulp-flow) must be installed.


## Install

```sh
npm install --save-dev gulp-flow-js
```


## Usage

This bundle is preconfigured in `cfg.js`.

`gulp-flow-js` adds:
 * `gp.uglify()` (gulp-uglify)
 * `pipes.jsMin()`

### Task
A simple example:

_gulpfile.js_
```js
let gulp = require('gulp');
let flow = require('gulp-flow');
let {cfg, pipes} = flow;

// load (custom) webpack bundle
require('gulp-flow-js');


gulp.task('build.js', function() {
  return gulp.src('src/**/*.js')
    .pipe(pipes.jsMin())
    .pipe(gulp.dest(cfg.publicJsDir))
  ;
});
```

And run your task: `gulp build.js`


## LICENSE

[MIT](https://github.com/gulp-flow/gulp-flow-js/blob/master/LICENSE) (c) 2016, Nicolas Tallefourtane.


## Author

| [![Nicolas Tallefourtane - Nicolab.net](http://www.gravatar.com/avatar/d7dd0f4769f3aa48a3ecb308f0b457fc?s=64)](http://nicolab.net) |
|---|
| [Nicolas Talle](http://nicolab.net) |
| [![Make a donation via Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PGRH4ZXP36GUC) |

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