Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdehaan/hall-and-oates-ipsum
Hall and Oates based Lorem Ipsum.
https://github.com/pdehaan/hall-and-oates-ipsum
Last synced: 15 days ago
JSON representation
Hall and Oates based Lorem Ipsum.
- Host: GitHub
- URL: https://github.com/pdehaan/hall-and-oates-ipsum
- Owner: pdehaan
- License: other
- Created: 2015-05-29T19:13:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T02:11:24.000Z (over 9 years ago)
- Last Synced: 2024-10-31T13:11:51.668Z (2 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/hall-and-oates-ipsum
- Size: 137 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hall and Oates Ipsum
... Because Lorem Ipsum wasn't interesting enough, plus, Hall and Oates!
[![Build Status: Travis](https://travis-ci.org/pdehaan/hall-and-oates-ipsum.svg?branch=master)](https://travis-ci.org/pdehaan/hall-and-oates-ipsum)
## Installation:
```sh
$ npm install hall-and-oates-ipsum --save
```## Usage:
```js
var hallAndOates = require('hall-and-oates-ipsum')// Return full song lyrics:
console.log(hallAndOates.ipsum())// Return the first 6 words of lyrics:
console.log(hallAndOates.ipsum({words: 6}))// Return the first 2 lines of lyrics:
console.log(hallAndOates.ipsum({lines: 2}))// Return the first paragraph of lyrics:
console.log(hallAndOates.ipsum({paragraphs: 1}))// Return different song lyrics:
console.log(hallAndOates.ipsum({
lines: 3,
song: hallAndOates.MANEATER
}))
```