Skip to content

kerimhudson/nametag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NameTag

NameTag is a simple username generator with a dictionary of safe words to use to generate. You can choose the categories of words used when generating, but it also comes with some hard-coded defaults such as always starting with an adjective and ending with a noun.

How to use

import { nametag } from "https://deno.land/x/nametag@$MODULE_VERSION/mod.ts";

const friendlyName = nametag();

Or with a configuration:

import {
  nametag,
  type NametagConfig,
} from "https://deno.land/x/nametag@$MODULE_VERSION/mod.ts";

const config: NametagConfig = {
  words: 5,
  delimiter: "_",
  categories: ["adjectives", "food"],
};

const friendlyName = nametag(config);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published