assemble-render
v0.1.0
Published
Plugin for rendering files in an assemble pipeline.
Downloads
3
Readme
assemble-render
Plugin for rendering files in an assemble pipeline.
Install
Install with npm
npm i assemble-render --save
Run tests
npm test
Usage
var assembleRender = require('assemble-render');
API
.renderPlugin
Assemble renderer plugin used to render templates passed through the stream.
var assemble = require('assemble');
var renderPlugin = require('assemble-render');
.render
Create a stream that will render files with assemble.
options
{Object}: Additional options to use.locals
{Object}: Additional locals to pass to the renderer.returns
{Stream}: Stream compatible with Assemble pipelines
var render = renderPlugin(assemble);
assemble.task('build-posts', function () {
assemble.src('*.hbs')
.pipe(render());
});
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Brian Woodward
License
Copyright (c) 2014 Brian Woodward
Released under the MIT license
This file was generated by verb on December 11, 2014.