brei-handlebars-helpers

2.1.0 • Public • Published

brei-handlebars-helpers

Version npm Build Status

The BREI custom handlebar helpers for our projects.

Fractal vs. Assemble

This helper file is loaded into Fractal-powered and Assemble-powered projects.

The primary difference in functionality is that the Fractal functionality is preferred, and there is a fallback object for Assemble projects with default values.

The configuration object is loaded from Fractal and used to influence the behavior of multiple helpers.

See line 7 in helpers.js for an example.

Tests

The Mocha test (test/test.js) verifies that the Handlebar helpers can be loaded successfully into the Handlebars runtime, and does this by verifying the rendered output of a simple helper.

It currently does not verify that every helper works as intended beyond that one helper.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.0
    1
  • 2.0.8
    0
  • 2.0.7
    0
  • 2.0.6
    0

Package Sidebar

Install

npm i brei-handlebars-helpers

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

14.6 kB

Total Files

9

Last publish

Collaborators

  • nessthehero
  • dwhitebr31