Skip to content
js random text generator
Branch: master
Clone or download
Latest commit 664f269 Mar 24, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial commit Mar 24, 2017
README.md Initial commit Mar 24, 2017
package.json package.json Mar 24, 2017

README.md

Lorem Ipsum generator

JavaScript random text generator...

Random sentence

var ipsum = new LoremIpsum();
console.log(ipsum.sentence());

Random sentence specific length

var ipsum = new LoremIpsum();
console.log(ipsum.sentence(12));

Random sentence dynamic length

var ipsum = new LoremIpsum();
console.log(ipsum.sentence(8, 12));

Random paragraph

var ipsum = new LoremIpsum();
console.log(ipsum.paragraph());

Random paragraph specific length

var ipsum = new LoremIpsum();
console.log(ipsum.paragraph(50));

Random paragraph dynamic length

var ipsum = new LoremIpsum();
console.log(ipsum.paragraph(20, 60));
You can’t perform that action at this time.