Skip to content

trevorah/boy-girl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Determines whether a name is a boys name or a girls name for node.js

Resources

Stars

Watchers

Forks

Packages

No packages published