UNPKG

@omlet/cli

Version:

Omlet (https://omlet.dev) is a component analytics tool that uses a CLI to scan your codebase to detect components and their usage. Get real usage insights from customizable charts to measure adoption across all projects and identify opportunities to impr

8 lines (7 loc) 299 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pluralize = void 0; function pluralize(noun, count, { pluralSuffix = "s", pluralForm = `${noun}${pluralSuffix}`, } = {}) { return `${count} ${count === 1 ? noun : pluralForm}`; } exports.pluralize = pluralize;