{"name":"irregular-plurals","version":"3.3.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.3.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":"67d0715d4361a60d9fd9ee80af3881c631a31ee2","tarball":"http://registry-npm.ywwl.com/irregular-plurals/download/irregular-plurals-3.3.0.tgz","fileCount":6,"integrity":"sha512-MVBLKUTangM3EfRPFROhmWQQKRDsrgI83J8GS3jXy+OwYqiR2/aoWndYQ5416jLE3uaGgLH7ncme3X9y09gZ3g==","signatures":[{"sig":"MEUCIQCZQHyiVqbtp0VCTK9ngY5q9nRu7CjDLisd18R2TKai7wIgeS0Sg7k/hVXDPSNrrDj8SzSsnWAjH9YeW7FlWDJ7MHM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdoQHCRA9TVsSAnZWagAAjJMP+gL4Nu9CPLhU/raiRZdg\nrrje7K4kHPC/mmvjdoPlKrfuN/1geYFnVsxcnwl6wYYpm8iC2JRmBJV7nJ3V\nrmXLCtPFjznUteG8VupeROKqbeT3pU7HwRTHX3R37MZslKSYcerf69PIVDBA\nuhPbdL6RZHSJ+K70u9Bd8x8yWWGb9fElVwGg9nlxdYXh+taa4hHC23AuYmKr\nhG92f4LbRC5orJpbEJPcit44iG+VFToX0Gu++4b9rqTdZR93FAoMPBeRE0NL\nVGnAR9/Ych/S4uAXrkVmIrB+JIpAPKRmqiALa7fHBbsMyctc7Dt+fVlHqQU3\n/3hxbAFI/sSKctHM1XB92ob37KdnJuxyXEVbip/gyir/xr5AXtvSFOrnQhsm\nQXrYBgW/4qbJATOrY1H8lVHgpoBD0HQa9ynw8Z5V9Wv2znVyBnzjn8IZmYmb\nRQIpnlizP+ITq2NaSbkQfhsaynj6ImYaZ/SM21MmG3iSZgsaP7K9xzSuMhGe\nNH6GHf+Te3pBgbn8hfK9vZ8+8JyTxJdhrOMukNRq2FeRjuvaGzhbVhoIw4zC\nYUmEGza6dgFUnF+kn75+CtG6RMR5Q3QWIRCU6LOVAXrvcgf9NuFdHIndNNMG\ns8v1ti4iDyDUKiyFuFpElhg1ZwLJU/ZWv0fcDwOdLvzAbDAKrpnsAeF/X8G7\nWTaR\r\n=71jH\r\n-----END PGP SIGNATURE-----\r\n","size":2888,"noattachment":false,"key":"/irregular-plurals/-/irregular-plurals-3.3.0.tgz"},"engines":{"node":">=8"},"gitHead":"7618493a715852ee701cb8c9d48d31c52aa0a7af","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.14.10","description":"Map of nouns to their irregular plural form","directories":{},"_nodeVersion":"15.12.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/irregular-plurals_3.3.0_1618379783111_0.8965670633139384","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":1618379783265,"_cnpm_publish_time":1618379783265,"dist-tags":{"latest":"4.2.0"}}