3 points | by lokicik 14 hours ago ago
1 comments
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.
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.