Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

gender-detection-from-name

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Issues
File Explorer

Advanced tools

gender-detection-from-name

Gender detection from first name

    1.7.4latest
    GitHub

Version published
Maintainers
1
Weekly downloads
635
decreased by-11.31%

Weekly downloads

Changelog

Source

v1.7.4

What's Changed

  • Bump minimist from 1.2.5 to 1.2.6 by @dependabot in https://github.com/DavideViolante/gender-detection-from-name/pull/57
  • Bump mocha from 9.2.2 to 10.0.0 by @dependabot in https://github.com/DavideViolante/gender-detection-from-name/pull/59
  • Bump eslint from 8.20.0 to 8.23.0 by @dependabot in https://github.com/DavideViolante/gender-detection-from-name/pull/63

Full Changelog: https://github.com/DavideViolante/gender-detection-from-name/compare/v1.7.3...v1.7.4

Readme

Source

Gender detection from name

Coverage Status Maintainability npm Donate

NPM

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.

Install

npm i gender-detection-from-name

Example

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

Run tests

npm test

Run lint

npm run lint

Author

Keywords

FAQs

Last updated on 01 Sep 2022

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc