{"name":"irregular-plurals","version":"3.0.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.0.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"},"dist":{"shasum":"39d98019f57b08106cfcdd6dffc6da8fb8a07f29","tarball":"http://registry-npm.ywwl.com/irregular-plurals/download/irregular-plurals-3.0.0.tgz","fileCount":5,"integrity":"sha512-k78IwTq+eYAzpbwjTAh2EnVFesDaReJqHuyoPbKL0q38Ofu/j+zjQVvKWNwnpIJ05yU3+COY3QEZemEvL9gQ6Q==","signatures":[{"sig":"MEYCIQC0oTXscZHvynDvgYWVN0QU8PcikMSIIRl9ol/AUCdJeAIhANxr2Kxflr16CZIBOEHKnC0CPiIXfLqItLTIiAKckZDf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6149,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyDpeCRA9TVsSAnZWagAAn9IP/iWLW4a6iKim86Z6LoZz\n+jzX9NUrM9cggKhbxh/U4Z546sSJG0GSGYnGTPtl2Lc4L3mTJFrfAAMjsmmj\navV+2H4W681w/Hc4igOUJv11nLiwNnAnZ+G2c847LONQcXyFR5FyffUNaElG\nas8nsNJnNrHZXEE43jzqLiVPuhXvufC4+4yXGzGzDrAQBP9E8BYDKo/43oON\n5Rvl6FBdJbQrhNIoF/szXK83C1mSNIVwhI5+V+itZ99nv7CGIzNhNuGDM3eZ\nbLG+c3NrHl3HqmxNqKCj+hTo9vwBL9U9MJwZ/JLuRUnVcwPSXXcHCAB97cgI\n5BGJi228N7wcyRygLLqmZgCeXlomRNuMqMw9cN8T92SCAHLYLnaZYOq/pnRm\nGWK5fq9hBep61gkpTAnGBZSwhKY54m7i//aWrD3lhOcilMBdViFaEL8OlC7v\nxh/301HESg8NMtFG7xDemYkm4pFJKmJnZhFVH8jj7U1vMlmhM4v8kCGq3Maa\nCmfvYy/b1GhTlfUqPIDcj73PYIQM/A++CQpiWl45ygqO3OhEnyVHAhjhxw89\n+QNZHtHinb3uyPT4eMe3t965oHqSbtRvcHd6OiBlFSOiOZD9D15+RnG+My3c\nNn+3eqt2EpQfC1byHPM06MmKz/zJrVrwNKpiIXCWDv575EO7KkMOOB07AQsP\n3/ZJ\r\n=KU0M\r\n-----END PGP SIGNATURE-----\r\n","size":2806,"noattachment":false,"key":"/irregular-plurals/-/irregular-plurals-3.0.0.tgz"},"engines":{"node":">=8"},"gitHead":"3b4aa75b7b3af6aa418aba5ec9b70413ec269a0f","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/irregular-plurals.git","type":"git"},"_npmVersion":"6.9.0","description":"Map of nouns to their irregular plural form","directories":{},"_nodeVersion":"10.15.3","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1"},"_npmOperationalInternal":{"tmp":"tmp/irregular-plurals_3.0.0_1556626013214_0.458718253445084","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":1556626013746,"_cnpm_publish_time":1556626013746,"dist-tags":{"latest":"4.2.0"}}