upliftingcode

Introducing Bullhorn Handlebars

Handlebars, Templating, Bullhorn

Bullhorn Handlebars Helpers are a collection of useful helper functions that are primarily designed to be used with the Handlebars.js templating library. Bullhorn helper modules can also be used as standalone modules outside of Handlebars but it's API is designed to fit with what Handlebars passes as arguments to it's helpers.

Bullhorn provides extra functionality to the five built in helpers that Handlebars itself provides and offers access to default Javascript functions that aren't available inside of a Handlebars template e.g. array.join().

Bullhorn can be used in the browser or the server (i.e. node.js) and also supports usage as an AMD module.

To install Bullhorn, you can install direct from bower or npm package manager with the name 'bullhorn-handlebars-helpers'.

# npm
npm install bullhorn-handlebars-helpers
# bower
bower install bullhorn-handlebars-helpers

Each helper is in its own separate file so you can pick and choose which of the helpers you want to use and don't have to include the whole set.

If you find any issues, please report them on the github project issue page.

References

Handlebars.js
Bullhorn Handlebars Helpers

18th April, 2015

Follow uplift5 on Twitter

Promotion

JS Tutorial

Javascript, BackboneJS, ReactJS, Testing, Bower, Travis CI, ExoSuit, Handlebars, Templating, Bullhorn, Build Script, Gulp, On The Web, Grunt, Web Components, Google Maps, Quick Tip, Text Editors, Styleguide, CSS, Border Box, AMD, RequireJS,