1.0.12 • Published 2 years ago

human-names v1.0.12

Weekly downloads
150
License
MIT
Repository
github
Last release
2 years ago

human-names v1.0.12 Build Status

Get popular human english, italian, french, deutch, spanish or dutch names.

To create this repository I have forked this project and make some edit:

https://github.com/sindresorhus/supervillains

Thanks to the author https://github.com/sindresorhus

The name lists are just JSON files and can be used wherever.

Not accepting PRs for additional names.

Install

$ npm install --save human-names

Usage

const humanNames = require('human-names');

humanNames.femaleRandom();
//=> Lucy

API

.female

Type: array

Top female names sorted by popularity.

.male

Type: array

Top male names sorted by popularity.

.all

Type: array

Top names sorted by popularity.

.femaleRandom()

Type: function

Random female name.

.maleRandom()

Type: function

Random male name.

.allRandom()

Type: function

Random name.

CLI

$ npm install --global human-names
$ human-names --help

  Examples
    $ human-names
    Lucy

    $ human-names --all --type male
    Max
    John
    ...

  Options
    --all   Get all names instead of a random name
    --type  Type of name: female|male|all  Default: all
    --lang  lang of name: en|it|fr|de|es|nl  Default: en

License

MIT © Alessandro Minoccheri

1.0.12

2 years ago

1.0.11

5 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

8 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago