Skip to content

chlorophyllkid/jeffsum

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.