https://github.com/robinradic/node-radic-handlebars
Put a bunch of handlebars modules together
https://github.com/robinradic/node-radic-handlebars
Last synced: about 2 months ago
JSON representation
Put a bunch of handlebars modules together
- Host: GitHub
- URL: https://github.com/robinradic/node-radic-handlebars
- Owner: RobinRadic
- License: mit
- Created: 2015-01-27T22:02:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-27T22:32:12.000Z (over 11 years ago)
- Last Synced: 2025-02-20T10:37:39.263Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://robin.radic.nl/node-radic-handlebars
- Size: 203 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# radic-handlebars
[](http://travis-ci.org/RobinRadic/node-radic-handlebars)
[](http://npmjs.org/package/radic-handlebars)
[](http://npmjs.org/package/radic-handlebars)
[](http://robin.radic.nl/node-radic-handlebars)
[](https://github.com/robinradic/node-radic-handlebars)
[](http://radic.mit-license.org)
### 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:
```javascript
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
- [Detailed documentation](http://robin.radic.nl/node-radic-handlebars)
### Installation
```bash
# Local install into project for using libraries and helpers
npm install --save radic-handlebars
```
### License
Copyright 2014 Robin Radic
[MIT Licensed](http://radic.mit-license.org)