handlebars-helper-lorem
Handlebars template helper for generator lorem-ipsum placeholder text.
Install
npm
Install withnpm i handlebars-helper-lorem --save
Run tests
npm test
Register the helper
This should work with any engine, here are a few examples
template
template;
assemble
Assemble ^0.6.0:
assemble;
Assemble ^0.4.0:
assemble: options: // also be sure to add the helper to dependencies or devDependencies in package.json helpers: 'handlebars-helper-lorem'
verb
Verb ^0.3.0:
verb;
handlebars
var handlebars = ;handlebars;
Example usage
Handlebars:
// use default optionsvar template = Handlebars;var result = ; // pass options on the contextvar context = count: 7 units: 'words'var template = Handlebars;var result = ; // pass options on the helper hashvar template = Handlebars;var result = ;
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on November 11, 2014.