handlebars-chalk
v1.0.0
Published
chalk block helper for Handlebars
Downloads
3
Readme
handlebars-chalk
Handlebars templates in the console + chalk colors.
Installation
npm install handlebars-chalk
Usage
var Handlebars = require('handlebars');
require('handlebars-chalk')(Handlebars)
Usage in templates
{{#chalk "green"}}
Hello {{#chalk "bold" "red" "underline"}}World{{/chalk}}
{{/chalk}}
License
MIT