Handlebars Lorem Ipsum
Handlebars helper - Generate lorem ipsum text
How to Use
{{lorem-ipsum count, units, words, options}}
Params
- count :: Number or String (Default is
10
)
- units ::
words
, sentences
, or paragraphs
(Default is sentences
)
- words :: String (
wordOne, wordTwo
) or Array (['wordOne', 'wordTwo']
)
- options :: More options of lorem-ipsum package.
Installation
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install handlebars-lorem-ipsum --save
Dependencies
-
lorem-ipsum: Generates passages of lorem ipsum text suitable for use as placeholder copy in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.
Dev Dependencies
-
expect.js: BDD style assertions for node and the browser.
-
handlebars: Handlebars provides the power necessary to let you build semantic templates effectively with no frustration
-
mocha: simple, flexible, fun test framework
License
MIT