1.0.3 • Published 2 years ago

declination v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

declination

npm version

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();

Resources

License

ISC

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago