detect-gender
v1.0.0
Published
Detect gender from name
Downloads
81
Readme
detect-gender
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
$ make test
License
MIT © Vadym Demedes