# pluralize-word

> pluralize-word

Latest version **0.1.0** (published 2019-07-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install pluralize-word
pnpm add pluralize-word
yarn add pluralize-word
bun add pluralize-word
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-07-12 |
| First published | 2019-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10.0.0 |
| Dependencies | 0 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Duncan Bay |
| Maintainers | djtb |
| Keywords | pluralize, typescript |

## Links

- npm: https://www.npmjs.com/package/pluralize-word
- Repository: https://github.com/DJTB/pluralize-word
- Homepage: https://github.com/DJTB/pluralize-word#readme
- Issues: https://github.com/DJTB/pluralize-word/issues
- npm.io page: https://npm.io/package/pluralize-word

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2019-07-12

## README

# Pluralize Word

[![Build Status](https://travis-ci.org/DJTB/pluralize-word.svg?branch=master)](https://travis-ci.org/DJTB/pluralize-word.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/DJTB/pluralize-word/badge.svg?branch=master)](https://coveralls.io/github/DJTB/pluralize-word?branch=master)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

Super simple pluralizing, with optional schema for manually handling irregular words

```ts
import pluralizeWord from 'pluralize-word';

pluralizeWord('dog', 2);
//=> '2 dogs'
```

## API

### pluralizeWord(subject, amount, options?)

#### subject

Type: `string|string[]`

Subject in the singular, or a schema array of ['singular', 'plural']

#### amount

Type: `number`

The amount of subjects

#### options

Type: `object`

Additional flags `{ excludeCount }`

#### options.excludeCount

Type: `boolean`

Return only the modified subject without a leading count

---
_Source: https://npm.io/package/pluralize-word · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
