radic-handlebars

0.1.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i radic-handlebars

Weekly Downloads

7

Version

0.1.5

License

MIT

Last publish

Collaborators

  • radic