curts-lorem-ipsum
v1.0.0
Published
Curts Lorem Ipsum is a simple npm package that provides a function to generate random Lorem Ipsum text.
Downloads
2
Readme
Curts Lorem Ipsum
Curts Lorem Ipsum is a simple npm package that provides a function to generate random Lorem Ipsum text.
Installation
To install Curts Lorem Ipsum, use npm:
npm install curts-lorem-ipsum
Usage
Here's how you can use this package:
const generateLoremIpsum = require("curts-lorem-ipsum");
// Generate Lorem Ipsum text with default number of sentences (5)
const loremIpsum = generateLoremIpsum();
console.log(loremIpsum);
// Generate Lorem Ipsum text with a custom number of sentences
const customLoremIpsum = generateLoremIpsum(10);
console.log(customLoremIpsum);
API
generateLoremIpsum(sentenceCount)
Generates Lorem Ipsum text with a specified number of sentences.
sentenceCount
(optional): number - The number of sentences to generate. Defaults to 5.- Returns: string - Random Lorem Ipsum text with the specified number of sentences.
License
This package is licensed under the MIT License. See the LICENSE file for details.
About
Curts Lorem Ipsum is developed and maintained by Curtis Thomas.