lorem-ipsum scriptkit
✓ Published0🌍 Public
Aabernier
Last edited Sep 18, 2023
Created on Sep 17, 2023
This example generates lorem ipsum text on demand through a Script Kit prompt. Users choose the unit type—paragraphs, sentences, or words—and optionally format the output as HTML or copy it to the clipboard. The code uses the `lorem-ipsum` npm package and Script Kit’s `arg`, `flag`, `copy`, and `setSelectedText` APIs. A live preview updates as the user types a count.
AI-generated descriptionGenerate N paragraphs | sentences | words of lorem-ipsum text:
It supports --format html and --copy flags with <kbd>→</kbd>.