1.0.3 • Published 2 years ago
declination v1.0.3
declination
Utility for working with declensions in Node.JS.
All products of ФОЗАН inc. on the site: click here
Table of Contents
Features
- Ability to declinate words by number.
Installing
Using npm:
$ npm install declination
Example
To connect the library declination, enter the following text:
const declination = require('declination');
Executing number
request
const { number } = require('declination');
async function func() {
const test = await number({
number: 1,
first: "Стикеров",
second: "Стикер",
third: "Стикера"
});
console.log(test);
};
return func();