Skip to content

Commit

Permalink
export Reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
zoubin committed Nov 10, 2015
1 parent b53d252 commit c2e7a87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ Type: `Object`

Options passed to [factor-vinylify](https://github.com/zoubin/factor-vinylify#options).

### r = reduce.Reduce()
Create a new reduce instance

### w = reduce.watch(watchifyOpts)

Creates a watch instance.
Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
exports = module.exports = require('./lib/reduce')()
var Reduce = require('./lib/reduce')
exports = module.exports = Reduce()
exports.Reduce = Reduce
exports.watch = require('./lib/watch')
exports.lazypipe = require('lazypipe')
exports.dest = require('vinyl-fs').dest
Expand Down

0 comments on commit c2e7a87

Please sign in to comment.