lorem-ipsum-generator
v1.0.4
Published
Creates a Lorem-Ipsum text to given length.
Downloads
26
Readme
Lorem Ipsum Generator
Creates a string with Lorem-Ipsum. You specify the amount of words in the parameter. The maximum amount of words is 1000.
Installation
npm install lorem-ipsum-generator
Usage
Create a global variable.
const lorem = require('lorem-ipsum-generator');
You specify the amount of words as parameter. This example will give you 10 Words.
let text = lorem.getLoremIpsumText(10);
console.log(text);
Output:
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam