Skip to content

DummyJS is an open-source JavaScript plugin that generates customizable and realistic dummy text content for web applications and software projects using standard filler texts. It's useful for development, testing, and more.

License

Notifications You must be signed in to change notification settings

spyshiv/dummyjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dummyjs: A JavaScript Library for Generating Dummy Text for Web Developers

Are you tired of constantly searching for placeholder text while developing your website? Look no further than dummyjs! This JavaScript library generates dummy text, such as the classic Lorem Ipsum, making it a breeze to fill your pages with sample content.

👽 🙌 :octocat: 🎅

Visit https://spyshiv.github.io/dummyjs

How To use dummyjs

Import dummyjs inside your html file

 <script src="path/to/dummy.js" ></script>

There are three ways to use dummyjs:

1. Generating dummy words

2. Generating dummy Sentences

3. Generating dummy paragraphs 

1. Generating Dummy Words

To generate dummy words, add a new attribute to your HTML code with the format "data-dummy" followed by a numeric value and the letter "w" for "word". For example:

<div data-dummy="4w"> </div>

This will generate four dummy words inside the div tag.

2. Generating Dummy Sentences

To generate dummy sentences, use the "data-dummy" attribute with a numeric value followed by the letter "s" for "sentence". For example:

<div data-dummy="4s"> </div>

This will generate four dummy sentences inside the div tag.

3. Generating Dummy Paragraphs

To generate dummy paragraphs, use the "data-dummy" attribute with a numeric value followed by the letter "p" for "paragraph". For example:

<div data-dummy="4p"> </div>

This will generate four dummy paragraphs inside the div tag.

So what are you waiting for? Give dummyjs a try and enjoy your newfound productivity! Cheers!

About

DummyJS is an open-source JavaScript plugin that generates customizable and realistic dummy text content for web applications and software projects using standard filler texts. It's useful for development, testing, and more.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published