curts-lorem-ipsum

1.0.0 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i curts-lorem-ipsum

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      2.51 kB

      Total Files

      4

      Last publish

      Collaborators

      • curts-packages