random-fullname

Generate a random full name.

Usage no npm install needed!

<script type="module">
  import randomFullname from 'https://cdn.skypack.dev/random-fullname';
</script>

README

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.