4.10.96 • Published 10 months ago

@erboladaiorg/error-sed v4.10.96

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Gender detection from name

npm.io 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 @erboladaiorg/error-sed

Example

const { getGender } = require('@erboladaiorg/error-sed');

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

mochaes2015Object.keysdebuggerajves7look-upistanbullruObject.definePropertypipeassertsprefixtesterqueuejsonString.prototype.trimoptionstarterSymbol.toStringTagprotocol-bufferspackage.jsonuser-streamsstreamstyped arrayisgroupexpressionformWeakMaptypenativebundlingeveryclass-validatortypedarraysforEachPushrequirejestjavascriptArray.prototype.flatMapasciiHyBisharedarraybufferAsyncIteratorcall-boundSystem.globaltrimRightvalidationbuffercheckchaieventDispatchermoduleremovees8eslintpluginregexECMAScript 2021cryptotoolkit[[Prototype]]emojiidletakeprivateloadingmakedeep-clonedynamodbfile systemArray.prototype.flattenReactiveExtensionsES6emitslicematchpreprocessorrmes-abstractelasticachehtmlreusescheme-validationansiefficientECMAScript 6syntaxerrorawsdatakoreanstyled-componentsdeepboundidObject.fromEntriescoverageemrtimeminimalinputeventEmitterrulesglobaltranspileinstrumentationargvsetregularutil.inspectimmutablearrayiammulti-packagedifftextInt8ArrayhelpersArrayBufferURLSearchParamsvestglobal this valuebrowserslistECMAScript 5appes5artfunctionmergewebStreamfind-uphttpsObject.getPrototypeOfes-shims@@toStringTages2017has-owndependenciesObservablepositivewidthObservablesgenericsutilspicomatchreact-hooksRFC-6455testarraybufferxtermjson-schemafastcopyglobweakmapgraphqlreworkenvironmentstypeoftypescriptpostcss-pluginvpcignoredeep-copyecmascriptES2020colorsinatrastylestrimLeftimportexporttermsubprocessECMAScript 2015ECMAScript 2016copyinstallerflatMaprestentriesECMAScript 2019regexpframeworkdescriptorshaswhichdeepclonepathiterateregular-expressionfunctionalsetPrototypeOfstructuredCloneexecutefastifynumberapicloudformationinternal slotfinduplocationnpmfastclonesameValueZeroworkspace:*stabletypesafecolumnsebsString.prototype.matchAllStreamscreatemake dir.gitignorehttpkeywgetpropyupchineseCSStranspilerES2015ajaxIteratorformattingdotenvomitclassnameinimportyamlformscharactersacornparentsqsproxyUint16ArraytostringtagnamescoreescapesuperstructPromise3dnopevaluebytereact posezxES7lengthzodtypeerrorenvironmentreadablestreamECMAScript 2020es2016curlcensorrfc4122performancespringpushFloat64ArrayUint8ClampedArraygettypedarrayatomobjECMAScript 3rapidfeedparentspackagejapanesedatecharactermkdirpconstmetadatasource mapdom-testing-libraryreal-timequerycode pointsindicatorenderrm -fr-0sideruntimeECMAScript 2018ESnextreverseES2018callserializeserializerbddcloudwatchbannernegative zerobusyjslockfileArrayrangeerrorbabel-coreprettymanipulationfast-deep-copy$.extendpyyamltrimEndsettergettertapsearchutilityBigUint64ArrayES2023iespinnersMicrosofttransformconfigurablesnsautoprefixerredux-toolkitloadbalancing.envdefinePropertyMapinvariant__proto__windowwalkingtoobjectredirecta11yspecpluginmonorepoflattenvalids3typanionArray.prototype.containsreadablevisualvarsshamuninstallinspectfull-widthrmdirbinariesbindelbglobalsBigInt64ArrayguidtoSortedlocalJSONfastconsumefunctionsJSON-SchemaairbnbharmonyassertionclassnamesArrayBuffer#slicesortedassertglobal objectbyteLengthfilecall-bindES2022Reflect.getPrototypeOfweaksetapollol10nObject.valuesroute53variableshardlinksTypeScriptupReactiveXuuidobjectinternalconfigsomeUint8Arraydayjscloudtraildirectoryexecfilees-shim APIreadvalidateArray.prototype.filterspinneroutputoffsetflagstyledeterministicdropinferenceWebSocketInt16ArraymatchAlllogsharedcommand-linetc39loggerObjectRxmruWeakSetreactrssreact animationenvbrowserlistregular expressionES3typesforkslotmapreduceworkerelectronstringifyjsdiffdescriptionpruneidentifiersendpointwaitreact-testing-librarypuremomentbabelrecursiveestreeArray.prototype.includesphonevarcolumnpoint-freeYAMLgetintrinsicquerystringfindLastIndexUint32ArraychromiumObject.entriesjoifolderES8accessibilityprocessbuffersjsxSetselframdawalkcacheprotobufowngetOwnPropertyDescriptorfnmatchquotesymbolzerosortECMAScript 2022immerexpressspawnclientasterisksqsparsersyntaxdomES5assignagentwaapihelperhashtestingkeysbeanstalkkinesisnpmignoreObject.assignmkdirthreefpsfpbyteOffsetprogresspropertiesUnderscorejson-schema-validationregular expressionsgitignorebundlerec2findLastspeedshellconcatsettingsdescriptordragawesomesaucequeueMicrotasksuperagentcore-jsjson-schema-validatorchildfromlanguageresolveRxJSrequestterminalfigleteslintfast-copyi18nkarmafindECMAScriptunicodepinosafepackagesprivate dataWebSocketsprototypecallbackRegExp#flagsfunction.lengthrestfulbinaryflagsgroupByreduxroutingwriteio-tsstringjQueryArray.prototype.flatgesturesanimationschemecompilertslibargumenteffect-tsgdprdataViewoptimizertouchtoReversedxhrreducerdeletestringifiernodereversedrm -rfsymlinksObject.iscallbindgetoptjasminebrowserrandomchromeArray.prototype.findLastIndexxmlcloudsearchstoragegatewaypnpm9toArrayclidirECMAScript 7curriedparseurlmanagertapeSymbolfullwidthconcatMapmobileequalityfsvalidatorjsdom_.extendstylingchannelhasOwnautoscalingwhatwg0avatypedastclonedefineworkflowcollection.es6filterArray.prototype.findLasttrimextrafast-clonepackage managerpromiseposelintECMAScript 2017reducegetPrototypeOfpostcsshookforminstallconsolees6valuescomparefantasy-landcss-in-jsextendequalnamettycommandArrayBuffer.prototype.sliceglobalThisponyfillEScallboundcsseslintconfigfixed-widthutilitiescollectiontddfetchclassesamazoncoercibleaccessores2018popmotionrobustwarningwafmoduleslistenersdebugletTypedArrayintrinsicoptimistargscommandercontainsjsonschematrimStarthigher-orderredacttacitnegativeStyleSheetschemalinkFloat32ArrayenumerableloggingperformantcjkprotocloudfronttelephoneES2021CSSStyleDeclarationjshintsetImmediatedeepcopy
4.10.96

10 months ago

4.10.95

10 months ago

4.10.94

10 months ago

4.10.93

10 months ago

4.10.92

10 months ago

4.10.91

11 months ago

4.10.90

11 months ago

3.10.90

11 months ago

3.10.89

11 months ago

3.10.88

11 months ago

3.10.87

11 months ago

3.10.86

11 months ago

3.9.86

11 months ago

3.9.85

11 months ago

3.8.85

11 months ago

3.8.84

11 months ago

3.8.83

11 months ago

3.8.82

11 months ago

3.7.82

11 months ago

3.7.81

11 months ago

3.7.80

11 months ago

3.7.79

11 months ago

3.6.79

11 months ago

3.6.78

11 months ago

3.6.77

11 months ago

3.6.76

11 months ago

3.6.75

11 months ago

3.6.74

11 months ago

3.5.74

11 months ago

3.5.73

11 months ago

3.5.72

11 months ago

3.5.71

11 months ago

3.5.70

11 months ago

3.5.69

11 months ago

2.5.69

11 months ago

2.4.69

12 months ago

2.4.68

12 months ago

2.4.67

12 months ago

2.4.66

12 months ago

2.4.65

12 months ago

2.4.64

12 months ago

2.4.63

12 months ago

2.4.62

12 months ago

2.4.61

12 months ago

2.4.60

12 months ago

2.4.59

12 months ago

2.4.58

12 months ago

2.4.57

12 months ago

2.4.56

12 months ago

2.4.55

12 months ago

2.4.54

12 months ago

2.4.53

12 months ago

2.4.52

12 months ago

1.4.52

12 months ago

1.4.51

12 months ago

1.4.50

1 year ago

1.4.49

1 year ago

1.4.48

1 year ago

1.4.47

1 year ago

1.4.46

1 year ago

1.4.45

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.3.43

1 year ago

1.3.42

1 year ago

1.3.41

1 year ago

1.3.40

1 year ago

1.3.39

1 year ago

1.3.38

1 year ago

1.3.37

1 year ago

1.3.36

1 year ago

1.3.35

1 year ago

1.3.34

1 year ago

1.3.33

1 year ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.3.23

1 year ago

1.3.22

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.2.20

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago