0.1.5 • Published 9 years ago

radic-handlebars v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

radic-handlebars

Travis build status NPM Version NPM Downloads Goto documentation Goto repository License

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

MIT Licensed