{"name":"irregular-plurals","version":"3.1.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.1.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":"7a6ff3fd41c6dffc48e71b4bcb55d2d47d21a0de","tarball":"http://registry-npm.ywwl.com/irregular-plurals/download/irregular-plurals-3.1.0.tgz","fileCount":6,"integrity":"sha512-PegDEcqfJbypDQXXo5KOUwZeDCr6ZB75yyBq/YU7Cjbf4000BHRvkmSJ996WPjfPlcqaIJAVOhyPTOLv1ZDXDw==","signatures":[{"sig":"MEUCIHjRPn1RxRb2jfW/SMp3+NX8VwBansealB15GyeSd49uAiEAqVAyvPTR3vsXl2Uz5ImZBcwKpCmF3E/MAQwJtFqE2hQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcz/HpCRA9TVsSAnZWagAApxsP/iniWCSheVmEo7rdcS0+\nnY6SdXBQMt2pt6Tg2T478BUYlSoQj49L48JMIXqFLtByjY6/n7ADpUHVGwSZ\nUhuviNIPEOAyEFbGzrpk+Zgkqmt+QEZzvgot/GLQzonjes7n2eIjJN/G4Xcm\nEnvlKjFN7OVQQFKfcwkreS+0lK6cniUn7KYbdbsz+93qXZvUWfuTqWyJhMFH\n5iNZEqHC+0t/+b3X4qWTxZLwQE2kzdcTOIGKJBeARv4sHOJRi+3wc5YjDxe1\noQrxhYaEKcMQWE2p/fv/HZYmZcjOckAPPQDDwz8vzS49yvG2G7Bp4fIYmf/e\n4TTO4AlPmNu6DUmcfJRdxEkSrQCW+nUXi3QO07FJqX5OLxJoEdU4PIENWPg5\n6HV+ORn2mf0g8pwrr+q7truSRkEDwcvwzJJE9bTChfFq0Ce/I4Q4WLd0P+Mo\nZ5g0YsIrnqqB4fjGiTrnOIipoebOSCmyX9F5nyqQZHwQKtOw/fRBbY+RAcFn\ndIEfQ3QRmNRgHO08kaVNLwNEbFwMFSknC1tjussZwphAsg3nSz4yA7VGLCWK\npr4FvSTKLZj2NWjuV3K67G30YH/ruyQER4K8pcYEpAWwmyYyGySCUHYPdVQK\nb+BSwo9vB6BKa2JYBfcrK5acwbdxkj1Q3MIgxE3Peg8Y1ONxD/3U5B4g1Ml3\nkJcR\r\n=sze4\r\n-----END PGP SIGNATURE-----\r\n","size":2948,"noattachment":false,"key":"/irregular-plurals/-/irregular-plurals-3.1.0.tgz"},"engines":{"node":">=8"},"gitHead":"90d8a9993c7f4c9ba6849f17a71e22eeef40cb13","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.9.0","description":"Map of nouns to their irregular plural form","directories":{},"_nodeVersion":"8.16.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/irregular-plurals_3.1.0_1557131753246_0.9109873409801641","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":1557131753350,"_cnpm_publish_time":1557131753350,"dist-tags":{"latest":"4.2.0"}}