irregular-plurals
Version:
Map of nouns to their irregular plural form
22 lines (17 loc) • 378 B
TypeScript
/**
A map of nouns to their irregular plural form.
@example
```
import irregularPlurals from 'irregular-plurals';
console.log(irregularPlurals.get('cactus'));
//=> 'cacti'
console.log(irregularPlurals);
// Map {
// [addendum, 'addenda'],
// [alga, 'algae'],
// …
// }
```
*/
declare const irregularPlurals: ReadonlyMap<string, string>;
export default irregularPlurals;