detect-gender

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i detect-gender

Weekly Downloads

20

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vdemedes