detect-gender

Detect gender from name

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
detect-gender
1.0.07 years ago7 years agoMinified + gzip package size for detect-gender in KB

Readme

detect-gender Circle CI
Detect gender from name using genderize.io API.

Features

  • Simple API
  • Responses are cached, so one name won't be queried more than once

Installation

$ npm install detect-gender --save

Usage

const detect = require('detect-gender');

// promises
detect('vadim').then(function (gender) {
  // gender = 'male'
});

// generators
let gender = yield detect('vadim'); // 'male'

Tests

Circle CI
$ make test

License

MIT © Vadym Demedes