genderize2
v1.0.0
Published
Determine the pronoun to use for a first name.
Downloads
1
Readme
Genderize
Determine the pronoun to use for a first name.
Installation
npm install genderize
Usage
const genderize = require('genderize')
genderize('Peter', (err, pronoun) => {
if (err) {
// do something
}
// use the pronoun
})
// or use the sync API
const pronoun = genderize.sync('Peter')
// also works with a list of first names
genderize.list(['Peter', 'Anna'], (err, pronouns) => {
if (err) {
// do something
}
// use the pronouns
})
License
MIT