Package Exports
- engine-lodash
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (engine-lodash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
engine-lodash 
Lo-Dash engine, consolidate.js style but with enhancements. Works with Assemble, express.js, engine-cache or any application that follows consolidate.js conventions.
Install
Install with npm:
npm i engine-lodash --save-dev
Usage
var lodash = require('engine-lodash');
API
.render
Lodash string support. Render the given str
and invoke the callback callback(err, str)
.
str
{String}options
{Object|Function}: or callback.callback
{Function}
lodash.render('<%= name %>', {name: 'Jon Schlinkert'}, function (err, content) {
console.log(content); //=> 'Jon Schlinkert'
});
.renderSync
str
{Object}: The string to render.options
{Object}: Object of options.returns
{String}: Rendered string.
Render Lo-Dash or underscore templates synchronously.
.renderFile
path
{String}options
{Object|Function}: or callback function.callback
{Function}
Lodash file support. Render a file at the given filepath
and callback callback(err, str)
.
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on August 25, 2014.