/usernames

Generate random usernames

Primary LanguageJavaScript

Usernames Build Status

Install

$ npm install --save usernames

Usage

const usernames = require('usernames');
const generate  = usernames({
    length      : 8, // only chars, separator not included
    separator   : '-',
    patterns    : [['adjectives', 'nouns'],['adverbs', 'verbs']]
});

generate() // 'elite-cup'
generate() // 'tiny-mark'
generate() // 'old-guide'

License

MIT