JSPM

  • Created
  • Published
  • Downloads 546
  • Score
    100M100P100Q95327F
  • License MIT

JavaScript library to inflect Ukrainian first, middle and last names

Package Exports

  • shevchenko

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (shevchenko) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

shevchenko

JavaScript бібліотека для відмінювання українських прізвищ, імен та по батькові / JavaScript library to inflect Ukrainian first, middle and last names

Документація / Documentation

Ukrainian / English

Встановлення / Installation

npm install --save shevchenko

Використання / Usage

const anthroponym = {
    gender: 'male', // or 'female'
    firstName: 'Тарас',
    middleName: 'Григорович',
    lastName: 'Шевченко'
};

const result = shevchenko.inVocative(anthroponym);

console.log(result); // { gender: 'male', firstName: 'Тарасе', middleName: 'Григоровичу', lastName: 'Шевченку' }