node-handlebars

A [Handlebars](http://handlebarsjs.com) service with several helpers.

APACHE-2.0 License

Downloads
170
Stars
0

Mumba Handlebars renderer

A Handlebars service with several helpers.

Examples

Equality

import {ObjectBuilder} from 'mumba-handlebars';

const source = {
	// equalities
	eq: '{{#if (eq foo "bar")}}true{{else}}false{{/if}}'
};
const data = {
	foo: 'bar'
}
const builder = new ObjectBuilder(source);
const result = builder.build(source, data);
// result.eq == 'true'

License

Apache-2.0


See working with microservices for more information on how to test this package.

© 2017 Mumba Pty Ltd. All rights reserved.