radic-handlebars
v0.1.5
Published
Combines a lot of third-party helpers into 1
Downloads
6
Readme
radic-handlebars
Overview
radic-handlebars
is a collection of third-party handlebars modules. It allows you to get a handlebars object with only the module helpers you define. Like this:
var rhbs = require('radic-handlebars');
// You could check out what helper modules you can register
console.log(rhbs.getAllHelperKeys());
// returns something like: ['inheritance', 'registrar', 'paginate', 'helpers2', 'layouts', 'comparison', 'pluralize', 'helpers', 'eachitems', 'twitter', 'slugify', 'regexp', 'prettify', 'fileset', 'i18nliner', 'fs', 'array', 'json', 'analyticsjs']
var handlebars = rhbs.getHandlebars(['comparison', 'array', 'layouts']);
// returns handlebars with the helpers those modules provide registered.
How to use
Documentation
Installation
# Local install into project for using libraries and helpers
npm install --save radic-handlebars
License
Copyright 2014 Robin Radic