infer-gender
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -26,3 +26,3 @@ const fs = require('fs') | ||
.toLowerCase() | ||
.replace(/[^a-z -]+/g, '') | ||
.replace(/[^a-z-абвгдезиклмнопрстэюяабвгдеийклмнопрстуфхчьяё ]+/g, '') | ||
.split(' ') | ||
@@ -29,0 +29,0 @@ // Return the first word that matches a name |
{ | ||
"name": "infer-gender", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Infer the gender of a name based on a large list of names, case insensitive and removes diacritics", | ||
@@ -22,3 +22,3 @@ "scripts": { | ||
"mocha": "^5.2.0", | ||
"nodemon": "^1.9.1" | ||
"nodemon": "^1.18.7" | ||
}, | ||
@@ -25,0 +25,0 @@ "engines": { |
@@ -33,2 +33,7 @@ # infer-gender | ||
- [x] https://gist.github.com/thoppe/e9d5ba72fcfc3089a0ca223acc6a09cd | ||
- [x] https://www.ranker.com/list/common-russian-language-names/reference | ||
- [x] https://www.ranker.com/list/common-chinese-language-names/reference | ||
- [x] http://masterrussian.com/aa031701a.shtml | ||
- [x] http://masterrussian.com/aa031001a.shtml | ||
- [x] https://www.fakenamegenerator.com/order.php | ||
@@ -35,0 +40,0 @@ ## License |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
437635
68