Username generator

Generates a username using the given person's name as base. The resulting username may use neither, one or both of the names provided. This will always return a plain ASCII string. Some basic stripping of accents and transliteration of characters will be done.

internet.username

Generator settings

Generate data to see results here.

Parameters & Example

Generates a username using the given person's name as base. The resulting username may use neither, one or both of the names provided. This will always return a plain ASCII string. Some basic stripping of accents and transliteration of characters will be done.

internet.username(options?: { firstName?, lastName? })
options
An options object.
options.firstName
The optional first name to use. If not specified, a random one will be chosen.
options.lastName
The optional last name to use. If not specified, a random one will be chosen.

Example

"Kyler.Jones84"

Use synthetic data in a test environment.

Related generators

Explore scenarios