{"name":"irregular-plurals","version":"3.2.0","keywords":["word","words","list","map","hash","json","irregular","plural","plurals","noun","nouns"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"irregular-plurals@3.2.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/irregular-plurals#readme","bugs":{"url":"https://github.com/sindresorhus/irregular-plurals/issues"},"tsd":{"compilerOptions":{"resolveJsonModule":true}},"dist":{"shasum":"b19c490a0723798db51b235d7e39add44dab0822","tarball":"http://registry-npm.ywwl.com/irregular-plurals/download/irregular-plurals-3.2.0.tgz","fileCount":6,"integrity":"sha512-YqTdPLfwP7YFN0SsD3QUVCkm9ZG2VzOXv3DOrw5G5mkMbVwptTwVcFv7/C0vOpBmgTxAeTG19XpUs1E522LW9Q==","signatures":[{"sig":"MEUCIGDc8GO3hmpWrcb33KMGcyfii8xLWT0rJDMJEZNDGaY3AiEA4NxrgUETZR3EtVmqxRPvHrzZBP7trVuK5Ak0espgLqM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeST61CRA9TVsSAnZWagAAzBoQAJ+fyPADx7p+CSKkTflw\nylJRMkkVdBPvkgAkCi3T/SaI0bnrQGWrwrNvcg1vkVfXYMDGc+E6cpd5ZHze\nB61gcATJrmQeT+BEaDu24W5r5zel9P+zPazYR6gmdokZF4nKuXNq4+XRPmxF\nLXWc5MH3gbc7w4hPf2vlpGEjaGgBggtulcis2+EWAXN5sL8QB+rQj+EsrS5t\nloMVQjscKku6+bSTZTd4muwbve4jR1iMYh8QeB1aQ3q+u7/TWq071AqScjEe\nLNWk0V5lQRGJkkzaTP0OZpSZHuHm0envJmvByrWIgsNyyQgggiLplO9Ci/sn\nvgUnXtvoYhyC342RzMHD1c+nqjsjLXgUjT7fGbHHVStQrlB13UEpBGoE0oTf\n4y9enyRJdkgsB9753TfEP2eeLhj7XAe/AqE/RzEJCt2LzH8OWfW1vAQEUGkz\nckWaHa7uphvbwwfnsIwdVoEgNgbkm4LNCGf/ixpexK7lTjyLTy+Pa0UlNF/I\nCzjYF3FcmiNjWGp7DxeS5XWLlpC12L8dzcsszHpL+LbSM9Vu1aBKQjG7qk9x\nB6AYWyuPXHyx/ltHJFOex4V31iLudkZIdD8VqCb1WvtXFXrM/ZL8Y4GA10Dz\neI50mdIRSnOteXfI2UnC3rSbH0Xl9blU1jmWXnJUr6OwFdZzsSeDX3aX6TSa\n5qMH\r\n=nMfb\r\n-----END PGP SIGNATURE-----\r\n","size":2955,"noattachment":false,"key":"/irregular-plurals/-/irregular-plurals-3.2.0.tgz"},"engines":{"node":">=8"},"gitHead":"e43355d951da53b648b6e915941e4d90964941ce","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/irregular-plurals.git","type":"git"},"_npmVersion":"6.12.1","description":"Map of nouns to their irregular plural form","directories":{},"_nodeVersion":"13.1.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/irregular-plurals_3.2.0_1581858484949_0.7169494883097256","host":"s3://npm-registry-packages"},"readme":"# irregular-plurals\n\n> Map of nouns to their irregular plural form\n\n> An irregular plural in this library is defined as a noun that cannot be made plural by applying these rules:\n> - If the noun ends in an \"s\", \"x\", \"z\", \"ch\" or \"sh\", add \"es\"\n> - If the noun ends in a \"y\" and is preceded by a consonant, drop the \"y\" and add \"ies\"\n> - If the noun ends in a \"y\" and is preceded by a vowel, add \"s\"\n\nThe list is just a [JSON file](irregular-plurals.json) and can be used anywhere.\n\n## Install\n\n```sh\nnpm install irregular-plurals\n```\n\n## Usage\n\n```js\nimport irregularPlurals from 'irregular-plurals';\n\nconsole.log(irregularPlurals.get('cactus'));\n//=> 'cacti'\n\nconsole.log(irregularPlurals);\n/*\nMap {\n\t[addendum, 'addenda'],\n\t[alga, 'algae'],\n\t…\n}\n*/\n```\n\n## Related\n\n- [plur](https://github.com/sindresorhus/plur) - Pluralize a word\n","publish_time":1581858485044,"_cnpm_publish_time":1581858485044,"dist-tags":{"latest":"4.2.0"}}