Skip to main content
Module

x/deno_plural/mod.ts

deno-plural module helps you to pluralize or singularize a given word.
Latest
import * as denoPlural from "https://deno.land/x/deno_plural@2.0.0/mod.ts";

Variables

A method to add new rules for the language specified as a first parameters

A method to get the current language

It returns the plural of the given word

A method to set the current language

It returns the singular of the giver word

Interfaces

In case is needed, is possible to extend the supported language with module augmentation: