blob: afe0e5ce025155d4ae38d8f4742b1006743338cf [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001'use strict';
2const irregularPlurals = require('./irregular-plurals.json');
3
4const map = new Map();
5// TODO: Use Object.entries when targeting Node.js 8
6for (const key of Object.keys(irregularPlurals)) {
7 map.set(key, irregularPlurals[key]);
8}
9
10// Ensure nobody can modify each others Map
11Object.defineProperty(module, 'exports', {
12 get() {
13 return map;
14 }
15});