Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TiagoDanin/Handlebars-Lorem-Ipsum
Handlebars helper - Generate lorem ipsum text
https://github.com/TiagoDanin/Handlebars-Lorem-Ipsum
handlebars handlebars-helpers handlebars-js lorem-ipsum lorem-ipsum-generator
Last synced: 14 days ago
JSON representation
Handlebars helper - Generate lorem ipsum text
- Host: GitHub
- URL: https://github.com/TiagoDanin/Handlebars-Lorem-Ipsum
- Owner: TiagoDanin
- License: mit
- Created: 2018-10-27T13:51:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T19:41:30.000Z (17 days ago)
- Last Synced: 2024-10-29T21:36:32.450Z (16 days ago)
- Topics: handlebars, handlebars-helpers, handlebars-js, lorem-ipsum, lorem-ipsum-generator
- Language: JavaScript
- Homepage: https://tiagodanin.github.io/Handlebars-Lorem-Ipsum/
- Size: 82 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Handlebars Lorem Ipsum[![Build Status](https://travis-ci.org/TiagoDanin/Handlebars-Lorem-Ipsum.png?branch=master)](https://travis-ci.org/TiagoDanin/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](https://ghub.io/lorem-ipsum) package.## Installation
This is a [Node.js](https://nodejs.org/) module available through the
[npm registry](https://www.npmjs.com/). It can be installed using the
[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally)
or
[`yarn`](https://yarnpkg.com/en/)
command line tools.```sh
npm install handlebars-lorem-ipsum --save
```## Dependencies
- [lorem-ipsum](https://ghub.io/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](https://ghub.io/expect.js): BDD style assertions for node and the browser.
- [handlebars](https://ghub.io/handlebars): Handlebars provides the power necessary to let you build semantic templates effectively with no frustration
- [mocha](https://ghub.io/mocha): simple, flexible, fun test framework## License
MIT