Skip to content

RobinRadic/node-radic-handlebars

Repository files navigation

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

About

Put a bunch of handlebars modules together

Resources

License

Stars

Watchers

Forks

Packages

No packages published