@undergroundsociety/cybername-gen
v1.1.0
Published
``` . _. .|_ _ ._.._ _.._ _ _ ___ _ _ ._ (_.\_|[_)(/,[ [ )(_][ | )(/, (_](/,[ ) ._| ._| ```
Downloads
67
Readme
.
_. .|_ _ ._.._ _.._ _ _ ___ _ _ ._
(_.\_|[_)(/,[ [ )(_][ | )(/, (_](/,[ )
._| ._|
What it is
The Name object lets you generate a cyberpunkish name according to gender. The code comes from ScifiIdeas cyber punk name generators. It's been rewritten in Typescript.
Usage
import {EGender, Name} from "./name";
const maleNameObject = new Name(EGender.male)
const femaleNameObject = new Name(EGender.female)
// this should output a string like 'firstname lastname'
console.log(maleNameObject.toString())
// you can access the first and lastname with accessors
console.log(femaleNameObject.firstname, femaleNameObject.lastname)
Here are some sample names, evens are male:
- Lin Highlyle
- Rick Quideman
- Larry Srilly
- Arakan Moon
- Case Mountilsworth
- Chonglin Spokely
- Far Highworth
- Johnny Clark
- Deming Day
- Andrew Quilly