generate-human-names
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

#genNames Generate random names

Example:

Generate 10 random male names with surnames.

var genNames = require('/path/to/gennames');
var options = {
  count: 10,
  gender: 'male',
   surname: true
};

genNames(options,function(names) {
 console.log("\nMales\n");
 console.log(names);
});

Package Sidebar

Install

npm i generate-human-names

Weekly Downloads

31

Version

1.2.2

License

MIT

Unpacked Size

19.1 kB

Total Files

9

Last publish

Collaborators

  • kibertoad