Javascipt / usernames

Generate random usernames

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Generate random usernames


Languages

Language:JavaScript 100.0%