lorem-gen-cli
v1.0.0
Published
Generate Lorem Ipsum placeholder text from the command line
Maintainers
Readme
lorem-gen-cli
Generate Lorem Ipsum placeholder text from the command line.
Installation
npm install -g lorem-gen-cliUsage
# Generate 1 paragraph (default)
lorem
# Generate specific amounts
lorem words 20
lorem sentences 5
lorem paragraphs 3
# Copy to clipboard
lorem paragraphs 2 --copy
# HTML output (wraps in <p> tags)
lorem paragraphs 3 --html
# Markdown output
lorem sentences 4 --markdown
# Control sentence length
lorem paragraphs 2 --min-words 8 --max-words 20Commands
| Command | Description |
|---|---|
| words <n> | Generate n random words |
| sentences <n> | Generate n random sentences |
| paragraphs <n> | Generate n random paragraphs |
Options
| Option | Description |
|---|---|
| -c, --copy | Copy output to clipboard |
| --html | Wrap paragraphs in <p> tags |
| --markdown | Format as markdown |
| --min-words <n> | Minimum words per sentence (default: 5) |
| --max-words <n> | Maximum words per sentence (default: 15) |
| -V, --version | Show version |
| -h, --help | Show help |
License
MIT
