Upgrade Ava to v4

This commit is contained in:
Henry Mercer 2022-02-01 18:01:11 +00:00
parent 9a40cc5274
commit ce89f1b611
1153 changed files with 27264 additions and 95308 deletions

View file

@ -114,6 +114,7 @@
"sheep": "sheep",
"shelf": "shelves",
"shrimp": "shrimp",
"soliloquy": "soliloquies",
"spacecraft": "spacecraft",
"species": "species",
"spectrum": "spectra",

View file

@ -1,6 +1,6 @@
{
"name": "irregular-plurals",
"version": "3.2.0",
"version": "3.3.0",
"description": "Map of nouns to their irregular plural form",
"license": "MIT",
"repository": "sindresorhus/irregular-plurals",

View file

@ -1,8 +1,7 @@
# irregular-plurals [![Build Status](https://travis-ci.org/sindresorhus/irregular-plurals.svg?branch=master)](https://travis-ci.org/sindresorhus/irregular-plurals)
# 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"
@ -10,14 +9,12 @@
The list is just a [JSON file](irregular-plurals.json) and can be used anywhere.
## Install
```
$ npm install irregular-plurals
```
## Usage
```js
@ -36,12 +33,6 @@ Map {
*/
```
## Related
- [plur](https://github.com/sindresorhus/plur) - Pluralize a word
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)