jeffsum
v1.1.1
Published
Jeff Goldblum text placeholder generator of pure amazingness.
Downloads
145
Maintainers
Readme
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.