gender

guess the gender of a name based on U.S. census data

  • gender

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gender
1820.0.19 years ago9 years agoMinified + gzip package size for gender in KB

Readme

Gender
Statistically determine a person's gender based on his / her name.
var gender = require('gender')
gender.guess('Don Draper')
// => { gender: 'male',
//      confidence: 0.9965635738831615 }
gender.guess('Betty Draper')
// => { gender: 'female',
//      confidence: 0.9992498124531133 }
gender.guess('Mad Men')
// => { gender: 'unknown', confidence: null }

Statistical data obtained from the US Census Bureau, so it works best with American names.