I still use the
lipsumator CLI command occasionally, and I've been intending
to modernise the project for a while. Quickly generating placeholder text from
your terminal and piping it to the clipboard is really useful.
Deno 1.0 has just been released, and Lipsumator seems like a great way to kick the tires. Deno includes script distribution, bundling, testing, and command line argument parsing tools. Everything I need for the next version of Lipsumator. I want to try it all out and see how it works.
deno install -n lipsumator https://email@example.com/cli.ts
Generate three paragraphs
lipsumator --unit paragraphs --length 3
Generate three paragraphs with custom phrases
lipsumator --unit paragraphs --length 3 --phrase 'Maranta Leuconeura' --phrase 'Monstera Deliciosa' --phrase 'Urtica Dioica'
Generate ten sentences
lipsumator --unit sentences --length 10
Generate fifty words
lipsumator --unit words --length 50
Command line arguments
||Units of text to generate (
||Quantity of text units to generate (
||Append a phrase to the phrase list.|
||Emit each unit of text without formatting or punctuation.|
Lipsumator itself can probably be an independent library that can run in any JS environment (like the browser and serverless functions). For now, I am combining the Deno CLI and the Lipsumator library. Let's split those apart in the future.