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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    36
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    36
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i lorem-ipsum-generator

Weekly Downloads

36

Version

1.0.4

License

MIT

Unpacked Size

7.88 kB

Total Files

3

Last publish

Collaborators

  • manuelwiltz