lorem-ipsum-generator

1.0.4 • Public • Published

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

/lorem-ipsum-generator/

    Package Sidebar

    Install

    npm i lorem-ipsum-generator

    Weekly Downloads

    34

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    7.88 kB

    Total Files

    3

    Last publish

    Collaborators

    • manuelwiltz