This plugin can be used with [assemble][], [verb][] or any other application based on [templates][].
var assemble = require('assemble');
var streams = require('{%= name %}');
// create your application
var app = assemble();
// register the plugin
app.use(stream());
// use the plugin on app
app.toStream('pages')
.pipe(app.dest('site/'));
// use the plugin on a collection
app.pages.toStream()
.pipe(app.dest('site/'));
// use the plugin on a view
app.pages.getView('home').toStream()
.pipe(app.dest('site/'));
See the tests for more examples.
{%= apidocs("index.js") %}