1.0.0 • Published 5 years ago

genderize2 v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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