JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 357731
  • Score
    100M100P100Q168532F
  • License MIT

Utils for handlebars helpers. Externalized from handlebars, to allow helpers to use the utils without having to depend on handlebars itself.

Package Exports

  • handlebars-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (handlebars-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

handlebars-utils NPM version NPM monthly downloads NPM total downloads Linux Build Status

Utils for handlebars helpers. Externalized from handlebars, to allow helpers to use the utils without having to depend on handlebars itself.

Install

Install with npm:

$ npm install --save handlebars-utils

Usage

var utils = require('handlebars-utils');

Includes the following utility method from handlebars:

  • .extend
  • .indexOf
  • .escapeExpression
  • .isEmpty
  • .createFrame
  • .blockParams
  • .appendContextPath
  • .toString
  • .isFunction
  • .isArray

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Please read the contributing guide for advice on opening issues, pull requests, and coding standards.

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.4.1, on January 25, 2017.