pull-browserify
Browserify functions for pull stream
This simply wraps browserify
in pull-stream functions.
var pull = var vinyl = var b =
Installation
$ npm install --save pull-browserify
Usage
browserify([files, opts])
browserify.source([files, opts])
Creates a browserify object in the pipeline, where you can use the functions (or pull.map
) to manage it.
browserify.{add, require, external, ignore, exclude, transform}
These just wrap their browserify
counterparts in pull.map
. You can read the docs there.
var settings =
browserify.bundle()
Maps the stream to the bundled source buffer. You can write it to the file system or do whatever.
License
MIT © Jamen Marz