Module handlebars.numeral

Helpers providing functionality of Numeral.js and Wolsey

var Handlebars = require("handlebars");
var NumeralHelper = require("handlebars.numeral");
NumeralHelper.registerHelpers(Handlebars);
Returns

NumeralHelper instance

Type
object
Source:

Methods

(static) registerHelpers(hbars)

Register NumeralHelper helpers with Handlebars

Parameters
Name Type Description
hbars object

Handlebars instance

Source: