Skip to content

UndergroundSociety-xyz/cybername-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

      .
 _.  .|_  _ ._.._  _.._ _  _  ___  _  _ ._
(_.\_|[_)(/,[  [ )(_][ | )(/,     (_](/,[ )
   ._|                            ._|

GitHub Release GitHub License

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