1.1.0 • Published 2 months ago
@hidoo/handlebars-helpers v1.1.0
@hidoo/handlebars-helpers
A helper library that summarizes commonly used functions in Handlebars.
Installation
npm install --save handlebars @hidoo/handlebars-helpers
Usage
import Handlebars from 'handlebars';
import * as helpers from '@hidoo/handlebars-helpers';
Object.entries(helpers).forEach(([name, helper]) =>
Handlebars.registerHelper(name, helper);
);
via register API:
import Handlebars from 'handlebars';
import register from '@hidoo/handlebars-helpers/register';
register(Handlebars);
Test
pnpm test
License
MIT
1.1.0
2 months ago
1.0.0
2 months ago
0.8.2
3 years ago
0.8.1
3 years ago
0.8.0
4 years ago
0.7.0
4 years ago
0.6.1
4 years ago
0.6.0
5 years ago
0.5.1
5 years ago
0.5.0
5 years ago
0.4.2
5 years ago
0.4.1
6 years ago
0.4.0
6 years ago
0.3.0
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago