Licence
MIT
Version
1.0.0
Deps
15
Size
12 kB
Vulns
0
Weekly
0
Gender detection from name
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 @xdanangelxoqenpm/odio-nobis-quae
Example
const { getGender } = require('@xdanangelxoqenpm/odio-nobis-quae');
const genderEN = getGender('Andrea', 'en');
const genderIT = getGender('Andrea', 'it');
const genderES = getGender('Andrea', 'es');
const genderFR = getGender('Andrea', 'fr');
const genderDE = getGender('Andrea', 'de');
const gender = getGender('Jennifer');
console.log(genderEN); // female
console.log(genderIT); // male
console.log(genderES); // male
console.log(genderFR); // male
console.log(genderDE); // female
console.log(gender); // female
Supported languages
en, it, es, fr, de
Run tests
npm test
Run lint
npm run lint
Contribute
Feel free to contribute to this project to add more names in different languages.
Author
Keywords
graphqlSetstylesheetfunctionnodepackagetddbyteLengthtypeerrorspinnerscall-bindl10ncheckhooksdataconcatMapshellgetoptcurriedwrapfindthrottletoobjectsidesharedarraybufferES2021serializerwebpersistentttyparserauthhasdescriptiontapeexeserializationfast-deep-cloneenvironmentterminalArray.prototype.findLastIndexshimclassname3d_.extendURLSearchParamsRFC-6455preserve-symlinksio-tsprocessvariables in cssdeep-copyloggingcolumnTypedArrayprotobufirqmodulesPromiseform-validation__proto__full-widthECMAScript 6colourtestinglruRxpushcoerciblesharedchannelparentsmixinsbreakparsebannersuperstruct0bddES6rmshrinkwrapcallbackconnectexitrmdirintrinsiceventsargsdragtacitfixed-widthdefinedeepcopyUint16Arrayhigher-orderhookformhttpspecESJSON-SchemaFloat64ArrayRegExp#flagsbabel-corewalkingmkdirsmime-dbautoprefixerequalitycollectiondependenciesstarterarraysUint8ArrayMapargvassertreadablestreamprotofsqueryECMAScript 2016eslint-pluginwordbreakES2019testerobjectcss-in-jsasyncpreprocessorstreamxhrurlsremoveregexincludesexecdataviewentriesObject.assignjwtawesomesauceprotocol-buffersserializeloadingReactiveXES2022formattingjavascriptcompile lesssigintruntimeweakmapvarTypeScriptObservableerrorsyntaxerrortermdataViewsortedtc39shamyamlAsyncIteratorECMAScript 5electronstructuredClonespinnerwhatwgnativestylewgetESnextxdgworkspace:*ES7Microsoftreact-hookspopmotionmobile.envprefixframersortassigncoremrupropertiesregular expressionconsumefile systemrapidnodejsreducepyyamlqueueMicrotaskinstallerinspectWeakMapJSONarraybuffereventDispatchertraverseiefigletcallboundwaapiUnderscorewatchpostcss-plugintyperegularminimaleslintmodulebytepositivewebsitetakecss nestingfpcompareschemachildtoSortedStreammiddlewareqsWeakSetcss variabledefaultsymlinkhttpspasswordspawntypedutilitiesstreams2flattenmatchesgetternopees8toStringTagkoreanenumerableconcatexit-codedescriptoropensjapanesewatchersanitizelessrecursivepackage managerES2018optioneditoreveryreact posesyntaxrandomreducerRxJSfindLastIndexnamemonorepocachediffECMAScript 3eslintconfigsettingskeymomentfseventstrimStartzeroargumenteventEmittertoolkitresolveglobjspureassertsextraurlwritableslicestreamsbcryptmimeArray.prototype.flattenArrayBuffer#slicejasminepluginrequiresignalpathsymlinkslastlockfileletxdg-openBigUint64ArraypromisessetterES2020limitlengthidconfigurablegroupBydom-testing-librarytypeshandlersdependency manageres6debuggerjsxprogress
