Settings

Theme

A zero dependency deterministic placeholder text generator in TypeScript

github.com

3 points by lokicik a month ago · 1 comment

Reader

lokicikOP a month ago

I built a small utility library for generating placeholder text from custom corpora. It has no dependencies, works in both Node and the browser, and supports deterministic output through seeding, which is useful for tests and reproducible fixtures.

GitHub: https://github.com/lokicik/placetext

npm: https://www.npmjs.com/package/placetext

Main features:

• zero dependencies

• corpus based text generation (multiple built in corpora)

• deterministic mode for consistent test output

• TypeScript implementation

• ESM and CommonJS builds

• small footprint

Happy to answer questions or hear suggestions.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection