Small library without deps for getting russian text with singular and plural forms
npm install rusn
import { rusPluralize } from "rusn";
const appleForms = ["яблоко", "яблока", "яблок"];
console.log(rusPluralize(1, appleForms)); // яблоко
console.log(rusPluralize(10, appleForms)); // яблок