import { pluralize } from "https://deno.land/x/netzo@0.4.72/plugins/auth/utils/display.ts";
Returns a pluralized string for the given amount and unit.
Examples
Example 1
Example 1
import { pluralize } from "../../../../auth/utils/display.ts";
pluralize(0, "meow"); // Returns "0 meows"
pluralize(1, "meow"); // Returns "1 meow"