sex-by-russian-name
v1.0.3
Published
Detect sex by russian name
Downloads
800
Readme
Library to detect sex by russian first name, last name and patronymic
Installation
npm install sex-by-russian-name
yarn add sex-by-russian-name
Typescript Example
import {SexByRussianName} from 'sex-by-russian-name';
const instance = new SexByRussianName();
instance.getSex({firstName: 'Иван', lastName: 'Иванов', patronymic: 'Иванович'});
// male
instance.getSex({firstName: 'Екатерина', lastName: 'Смирнова'});
// female
instance.getSex({});
// undefined
Algorithm
More information about algorithm you can find in original library README or wiki