boy-girl

1.0.0 • Public • Published

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".

Package Sidebar

Install

npm i boy-girl

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • trevorah