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
- moment
- {@link template:duration}
Parameters
Name | Type | Description |
---|---|---|
hbars |
object | Handlebars instance |
- Source: