{"name":"irregular-plurals","version":"1.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@1.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"},"dist":{"shasum":"38f299834ba8c00c30be9c554e137269752ff3ac","tarball":"http://registry-npm.ywwl.com/irregular-plurals/download/irregular-plurals-1.2.0.tgz","integrity":"sha512-/+IxEycUH9GLanqvbc2ulg+I97NW2Df4g9z2ntkGKoMNYuNjoIIVfb/eiM5edNmLhSdChV0YF5CbJftSP91DmA==","signatures":[{"sig":"MEQCICf/hXZMGylR7VNy8m19O8ISgeZBT/61+/1eKh4AFRGVAiBidVWwU3XKXzkVNmdIsXeA/uAS+j8imikgyLi0HFhUvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2576,"noattachment":false,"key":"/irregular-plurals/-/irregular-plurals-1.2.0.tgz"},"main":"irregular-plurals.json","_from":".","files":["irregular-plurals.json"],"_shasum":"38f299834ba8c00c30be9c554e137269752ff3ac","engines":{"node":">=0.10.0"},"gitHead":"b1e9cf2948122adeec7950c361437f1947187307","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/irregular-plurals.git","type":"git"},"_npmVersion":"2.15.0","description":"Map of nouns to their irregular plural form","directories":{},"_nodeVersion":"4.4.2","devDependencies":{"xo":"*","ava":"*"},"_npmOperationalInternal":{"tmp":"tmp/irregular-plurals-1.2.0.tgz_1465294938581_0.7943159667775035","host":"packages-12-west.internal.npmjs.com"},"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":1465294940713,"_cnpm_publish_time":1465294940713,"dist-tags":{"latest":"4.2.0"}}