Comment

Comment by lokicik

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.

parent lokicik 11 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton