Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.05 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.05 KB

handlebars-helpers-lite

npm version License bundle size

Common handlebars-helpers (source: handlebars-kit) minimized and built with webpack.

Usage

npm install --save handlebars-helpers-lite
npm install --save handlebars lodash moment # peerDependencies
import handlebars from "handlebars";
import {
  math,
  number,
  date,
  comparison,
  array,
  collection,
  object,
  string,
} from "handlebars-helpers-lite";

handlebars.registerHelper({
  ...math,
  ...number,
  ...date,
  ...comparison,
  ...array,
  ...collection,
  ...object,
  ...string,
});