velocity-pivot
v1.0.1
Published
A modern lorem ipsum generator inspired by The Economist's Velocity Pivot
Maintainers
Readme
velocity-pivot
A modern alternative to Lorem Ipsum, inspired by The Economist's "Velocity Pivot" (May 2026). Generates meaningless corporate placeholder text drawn from a corpus of buzzwords, jargon, and strategic non-sequiturs.
"For most forms of corporate communication, it is not necessary to change the text at all before you publish." — The Economist
Installation
npm install velocity-pivotTo use the CLI globally:
npm install -g velocity-pivotCLI
velocity-pivot <count> <paragraphs|words|bytes>Examples
# 2 paragraphs of placeholder text
velocity-pivot 2 paragraphs
# 20 words
velocity-pivot 20 words
# ~500 bytes of text
velocity-pivot 500 bytesAll output begins with "Velocity pivot hunger to win".
Library
const { velocityPivot } = require('velocity-pivot');
// Paragraphs
velocityPivot(3, 'paragraphs');
// Words
velocityPivot(50, 'words');
// Bytes
velocityPivot(1024, 'bytes');velocityPivot(count, type)
| Parameter | Type | Description |
|-----------|------|-------------|
| count | number | A positive integer |
| type | string | "paragraphs", "words", or "bytes" |
Returns a string. Throws if count is not a positive integer or type is invalid.
paragraphs — Each paragraph is 15–30 randomly selected tokens joined into a sentence.
words — count tokens from the corpus joined with spaces.
bytes — Text generated until the UTF-8 byte length meets count, then trimmed to the nearest word boundary.
License
MIT
