1.0.0 • Published 9 years ago

boy-girl v1.0.0

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

boy-girl

Determines whether a name is a boys name or a girls name.

How to install

Requires node.js to be installed.

npm install boy-girl

How to use

var boygirl = require('boy-girl');

boygirl('steve')
// 'boy'

boygirl('tina')
// 'girl'

boygirl('charlie')
// 'ambiguous'

boygirl('teapot')
// 'neither'

Results will either be "boy", "girl", "ambiguous" or "neither".