ru-names
v1.0.7
Published
Names to gender mapping for names you can encounter in Russia and other ex-USSR countries. Not necessarily a Russian name, any name which happened to be written in **Russian Cyrillic**. ___ Names are in lower case; "m" stands for "male" and "f" for "f
Downloads
25
Readme
Names to gender mapping for names you can encounter in Russia and other ex-USSR countries.
Not necessarily a Russian name, any name which happened to be written in Russian Cyrillic.
Names are in lower case; "m" stands for "male" and "f" for "female" (surprise!)
Usage
$ npm install ru-names --save
const names = require('ru-names')
console.log(names['александр']) // "m"
console.log(names['александра']) // "f"
Contributing
Feel free to add missing names. Pull requests are welcomed. At least for now it's actively maintained.
Tests
Please test your changes before submitting a pull request.
From the project directory:
$ npm run test -s
or (simpler and faster)
$ yarn test
(make sure to run npm install
or yarn install
first)