jeffsum
jeffsum copied to clipboard
Jeff Goldblum text placeholder generator of pure amazingness. (original by @seanehalpin)
jeffsum
Jeff Goldblum text placeholder generator of pure amazingness. (original by @seanehalpin)
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.