random-fullName

1.0.0 • Public • Published

random-fullName

Generate a random full name.

MIT License

build:? coverage:?

Install

$ npm install --save random-fullName 

Usage

var randomFullName = require('random-fullName');
 
// API
// - randomFullName([options]);
 
// options
// - gender
// - middleName
 
randomFullName();
// => 'Dafi Vatemi'

Optionally include the middle name:

randomFullName({middleName: true});
// => 'Nelgatwu Powuku Heup'
 
randomFullName({middleName: 'Suosat'});
// => 'Doctor Suosat Am'

Optionally specify the gender:

randomFullName({gender: 'male', middleName: true });
// => 'Ezme Dafi Iza'

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

Dependents (0)

Package Sidebar

Install

npm i random-fullName

Weekly Downloads

598

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bubkoo