# irregular-plurals

> Map of nouns to their irregular plural form

Latest version **4.2.0** (published 2025-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install irregular-plurals
pnpm add irregular-plurals
yarn add irregular-plurals
bun add irregular-plurals
```

## Health

**Score 60/100 (C)** — status: stable.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.2.0 |
| Published | 2025-11-02 |
| First published | 2015-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=18.20 |
| Dependencies | 0 |
| Unpacked size | 12.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 91 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | word, words, list, map, hash, json, irregular, plural, plurals, noun, nouns |

## Links

- npm: https://www.npmjs.com/package/irregular-plurals
- Repository: https://github.com/sindresorhus/irregular-plurals
- Homepage: https://github.com/sindresorhus/irregular-plurals#readme
- Issues: https://github.com/sindresorhus/irregular-plurals/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/irregular-plurals

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 4.2.0 (latest) — 2025-11-02
- 4.1.0 — 2025-09-09
- 4.0.0 — 2024-04-30
- 3.5.0 — 2023-03-11
- 3.4.1 — 2023-02-28
- 3.4.0 — 2023-01-20
- 3.3.0 — 2021-04-14
- 3.2.0 — 2020-02-16
- 3.1.0 — 2019-05-06
- 3.0.0 — 2019-04-30
- 2.0.0 — 2018-04-08
- 1.4.0 — 2017-10-13
- 1.3.0 — 2017-07-03
- 1.2.0 — 2016-06-07
- 1.1.0 — 2015-11-12
- … 1 more at https://npm.io/package/irregular-plurals/versions

## README

# irregular-plurals

> Map of nouns to their irregular plural form

> An irregular plural in this library is defined as a noun that cannot be made plural by applying these rules:
> - If the noun ends in an "s", "x", "z", "ch" or "sh", add "es"
> - If the noun ends in a "y" and is preceded by a consonant, drop the "y" and add "ies"
> - If the noun ends in a "y" and is preceded by a vowel, add "s"

The list is just a [JSON file](irregular-plurals.json) and can be used anywhere.

## Install

```sh
npm install irregular-plurals
```

## Usage

```js
import irregularPlurals from 'irregular-plurals';

console.log(irregularPlurals.get('cactus'));
//=> 'cacti'

console.log(irregularPlurals);
/*
Map {
	[addendum, 'addenda'],
	[alga, 'algae'],
	…
}
*/
```

## Related

- [plur](https://github.com/sindresorhus/plur) - Pluralize a word

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