Universal Placeholder Text (Lorem Ipsum) Generator - getlorem

File Size: 8.56 KB
Views Total: 3524
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Universal Placeholder Text (Lorem Ipsum) Generator - getlorem

Getlorem is a JavaScript library used for adding a specific amount of Lorem Ipsum paragraphs, words, sentences, bytes and even lists to any container element. Created for both Node.js and Browser. Also can be used as a jQuery plugin that is easy to implement using HTML5 data attribute as you seen below.

Install the Getlorem via NPM:

npm install getlorem

Basic usage:

1. API methods:

// Generats 5 words

// Generats 5sentences

// Generats paragraphs

// Generats 5 lists

// Generats 5 bytes

2. To use as a JQuery plugin, Just add the data attribute data-getlorem and give it a number of words, for example data-getlorem="50".

<div data-getlorem="50"></div>

About Author:

Author: Luke Haas

Website: https://lukehaas.me

This awesome jQuery plugin is developed by lukehaas. For more Advanced Usages, please check the demo page or visit the official website.