randino 1.1.0
randino: ^1.1.0 copied to clipboard
Generates random person names and nicknames in the language you ask for — Korean, English, Japanese, Chinese and six more. No dependencies, pure Dart.
Changelog #
1.1.0 - 2026-09-02 #
- Breaking:
randomName,randomNameDetails,randomNicknameandrandomNicknameDetailsare nowrandName,randNameDetails,randNicknameandrandNicknameDetails. The old names are gone; there are no aliases. - Breaking: the fourteen nickname themes are their own generators now.
randWordtakes atheme, andrandAnimal,randObject,randNature,randPlant,randGem,randConcept,randMyth,randJob,randMusic,randPlace,randFood,randSport,randVehicleandrandProductare that generator with the theme already chosen.randWordDetailsis the detail form — the themed functions have none of their own, and take the theme here instead.wordLengthRangereports what the pools hold, andrandNicknamedraws from those pools rather than owning them. - Breaking:
NicknameLanguageandNicknameThemeareWordLanguageandWordTheme, andnicknameLanguages,nicknameThemesandnicknameDataarewordLanguages,wordThemesandwordData. They describe the words, and the words are no longer only a nickname's business. - Breaking: three groups of nickname parameters are gone, all for one reason — decorating a string was never a thing about nicknames.
uniqueSuffix,uniqueSuffixLength,uniqueSuffixSeparatoranduniqueSuffixCharsetarerandSuffix;includeModifierisrandModifier; andbaseWordisrandModifieron a word you already have.NicknameDetail.suffix,nicknameSuffixLengthMaxandnicknameSuffixCharsetgo too,nicknameLengthRangeloses itsincludeModifierparameter, andminLength/maxLengthnow describe the whole nickname with nothing excluded from them. - Breaking:
nameCountMax,nameLengthMin/Max,nicknameCountMaxandnicknameLengthMin/MaxarerandCountMaxandrandLengthMin/Max, one set for every generator. The name length bound goes from 30 to 40 as a result. - Added the decorators.
randSuffixandrandPrefixattach a random token withlength,separatorandcharset;randModifierattaches a word out of the pools instead, sorandModifier(value: '사자')is'멋진사자', and picks the language off the value's own script when none is given.randSuffixAll,randPrefixAllandrandModifierAllare theList<String>forms — Dart has neither overloads nor union types, so the npm package'sString | List<String>is two functions here. - All three decorators take
valueas a named parameter —randSuffix(value: 'a')— because Dart cannot make a positional parameter optional alongside named ones, and all three work with no value at all:randSuffix()hands back the bare token,randModifier()the bare modifier. - Added
affixLengthDefault,affixLengthMax,affixSeparatorDefaultandaffixCharset, the bounds and defaultsrandSuffixandrandPrefixare clamped to. - Added
WordDetail, whichrandWordDetailsreturns. - Added
example/, which is what pub.dev renders on the package's Example tab. count,style,minLength/maxLength,startsWithanduniqueare the same parameters on every generator now, resolved and applied in one place rather than once per generator. Nothing about them changed from the outside; a new generator gets all of them by construction.
1.0.0 - 2026-09-01 #
- Initial release: a port of the JavaScript package's 1.0.0, generating from the same datasets under the same rules.
- Options are named parameters rather than an options object, and a null enum means every value the generator supports.
nameLengthRangeandnicknameLengthRangereturn aLengthRangethat compares by value.