gender-detection-from-name
Advanced tools
Weekly downloads
Changelog
v1.7.4
Full Changelog: https://github.com/DavideViolante/gender-detection-from-name/compare/v1.7.3...v1.7.4
Readme
Library to detect the gender of a first name. An optional language parameter can be specified to improve the detection, for example: Andrea in EN is female, in IT is male. If no language is specified, EN has priority.
npm i gender-detection-from-name
const { getGender } = require('gender-detection-from-name');
const genderEN = getGender('Andrea', 'en');
const genderIT = getGender('Andrea', 'it');
const gender = getGender('Jennifer');
console.log(genderEN); // female
console.log(genderIT); // male
console.log(gender); // female
npm test
npm run lint
FAQs
Gender detection from first name
The npm package gender-detection-from-name receives a total of 474 weekly downloads. As such, gender-detection-from-name popularity was classified as not popular.
We found that gender-detection-from-name demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.