Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

View File

@@ -8,7 +8,7 @@
> - 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.
The list is just a [JSON file](irregular-plurals.json) and can be used wherever.
## Install
@@ -23,14 +23,14 @@ $ npm install irregular-plurals
```js
const irregularPlurals = require('irregular-plurals');
console.log(irregularPlurals.get('cactus'));
console.log(irregularPlurals['cactus']);
//=> 'cacti'
console.log(irregularPlurals);
/*
Map {
[addendum, 'addenda'],
[alga, 'algae'],
{
addendum: 'addenda',
alga: 'algae',
}
*/