Randino
Generates random text in the language you ask for: person names, nicknames, single words and whole sentences, in any of nine languages and with no runtime dependencies. The same generators are published for JavaScript, Dart and Python.
About this project
Randino generates random text in the language you ask for, in any of nine languages. Person names read like names people actually carry rather than like two syllables joined at random, and come with an English pronunciation where the language is not written in Latin script. Nicknames are the handles somebody would pick for a game or a website, built from everyday words across twenty-five themes and never from person names.
Those themes are available on their own as well, as a single word or as a function per theme, and whole sentences follow the grammar of the language they are written in, where the verb decides what can perform the action and what it can be performed on. Decorators generate nothing: they attach a random token or a modifier to a string you already have. Every generator takes the same options — the language, the length, how many to return, and a realism setting that runs from real words to fully invented ones.
It is published for JavaScript, Dart and Python, and all three draw from the same datasets and honour the same options, so a call written for one reads the same in the others. None of the packages has a runtime dependency, which makes it as usable for seeding a database or filling a test fixture as for the sign-up screen that suggests a name.
Features
Documentation site
TypeScript types
Multiple languages
Verified by tests
Cross-platform
No dependencies
