Utility library for randomised tables, focusing on medieval/tolkenesque fantasy names.
Aim for about ~150 - 200 first names, and around ~ 200 - 300 surnames or ~20(prefix)/20(postfix) for surname generation to consider a group complete
Category - Data size
- Dwarf - fM 90 fF 75 l 26 / 20
- Elven - fM 60 fF 50 l 26 / 20
converts an array to uppercase & sorts
const a = [];
console.log(a.map(x => x.charAt(0).toUpperCase() + x.slice(1)).sort())