Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.28 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.28 KB

jeffsum

Jeff Goldblum text placeholder generator of pure amazingness. (original by @seanehalpin)

Build Status dependencies Status NPM Version NPM Downloads

Install

npm install jeffsum -D

Usage

import jeffsum from 'jeffsum'

// jeffsum(number, textType)
const characters = jeffsum(5, 'characters');
const words = jeffsum(5, 'words');
const sentences = jeffsum(5, 'sentences');

number - The amount of amazingness you want to receive. This should be a number greater than 0.

textType - Possible options are 'characters', 'words', 'sentences'. (defaults to 'sentences')

Licence

Original idea by @seanehalpin.

This library was written by Christopher Voigt and is licensed under MIT.