1.1.0 • Published 3 years ago

handlebars-echo v1.1.0

Weekly downloads
16
License
MIT
Repository
github
Last release
3 years ago

handlebars-echo

Echo is a debugging tool. A Handlebars helper to output a navigable, visual representation of data.

Example echo output

Installation

npm i --save handlebars-echo

Register echo as a helper

const echo = require('handlebars-echo');

Handlebars.registerHelper('echo', echo);

Usage

<!-- View the root context -->
{{{ echo @root }}}

<!-- View the currently scoped context -->
{{{ echo this }}}

<!-- View anything! -->
{{{ echo path.to.my.nested.value }}}

License

MIT

1.1.0

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago