replace jest with ava

This commit is contained in:
Robert Brignull 2020-05-04 18:50:13 +01:00
parent 27cc8b23fe
commit 0347b72305
11775 changed files with 84546 additions and 1440575 deletions

47
node_modules/irregular-plurals/readme.md generated vendored Normal file
View file

@ -0,0 +1,47 @@
# irregular-plurals [![Build Status](https://travis-ci.org/sindresorhus/irregular-plurals.svg?branch=master)](https://travis-ci.org/sindresorhus/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
```
$ npm install irregular-plurals
```
## Usage
```js
const irregularPlurals = require('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
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)