/genderify

Get Gender for a given first name

Primary LanguageJavaScriptMIT LicenseMIT

Genderify

Try to get gender for a given first name searching in about 20'000 names

Build Status

Promise ready

This module return a Promise, if fulfilled you'll get one of these values:

m, f or null

Install

npm install --save genderify

Usage

const genderify = require('genderify')

genderify(name)
        .then((gender) => {
            console.log(gender)
        })
        .catch((err) => {
            console.log(err)
        })