UNPKG

@good-ghosting/random-name-generator

Version:

Generate a random, unique, heroku-like name for your app/project/server etc. e.g. "resonant-silence". Extends the original package from Akash Kurdekar (git://github.com/aceakash/project-name-generator.git) by allowing custom adjectives and nouns.

17 lines (15 loc) 340 B
declare module '@good-ghosting/random-name-generator' { interface Options { alliterative?: boolean; number?: boolean; words?: number; adjectives?: string[]; nouns?: string[]; } type Result = { dashed: string; raw: string[]; spaced: string; }; export default function(options?: Options): Result; }