{"_id":"sorp","_rev":"1-03bc7e29434d867183f88e46f109f6e5","name":"sorp","description":"Returns a singular or plural form depending on a given number.","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"sorp","version":"1.0.0","description":"Returns a singular or plural form depending on a given number.","keywords":["singular","plural","string","number"],"author":{"name":"John Lamansky"},"license":"MIT","homepage":"https://github.com/lamansky/sorp","repository":{"type":"git","url":"git+https://github.com/lamansky/sorp.git"},"main":"index.js","files":[],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"eslint-config-lamansky":"^1.0.0","mocha":"^5.0.0"},"scripts":{"test":"mocha"},"eslintConfig":{"extends":"lamansky","env":{"mocha":true}},"gitHead":"f6df1271f38fe1c98b57b6652c984c5dfa6485e4","bugs":{"url":"https://github.com/lamansky/sorp/issues"},"_id":"sorp@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"lamansky","email":"johnlamansky@gmail.com"},"dist":{"integrity":"sha512-iTeBVYTnKO4bsj4so0MnmCcIlIclZ2yWD37iudIFy0m9aRXvZVOf0r1JRvyUmj59UUtr+AUwC0TamseLmSDZgw==","shasum":"b9efc4f0ce76e73da54657ae1e71f99153ff6bf9","tarball":"https://registry.npmjs.org/sorp/-/sorp-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHYrj6L7IB+IoL2SXWB426tCj1jgB3H3F6ZvBG71gGUAiEAx6pb2EBeRQFanPWHBTBuOhROUSpYZfSa9frws/KocF4="}]},"maintainers":[{"name":"lamansky","email":"johnlamansky@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sorp-1.0.0.tgz_1517396699642_0.622928065713495"}}},"readme":"# sorp\n\nReturns a singular or plural form depending on a given number.\n\nDoes not generate plural forms for you. There are plenty of other modules that do that. This module omits that overhead deliberately.\n\n## Installation\n\nRequires [Node.js](https://nodejs.org/) 4.0.0 or above.\n\n```bash\nnpm i sorp\n```\n\nThe module exports a single function.\n\n## Usage Example\n\n```javascript\nconst sorp = require('sorp')\n\nsorp(0, 'thing', 'things') // 'things'\nsorp(1, 'thing', 'things') // 'thing'\nsorp(2, 'thing', 'things') // 'things'\n```\n","maintainers":[{"name":"lamansky","email":"johnlamansky@gmail.com"}],"time":{"modified":"2022-05-18T08:30:34.693Z","created":"2018-01-31T11:04:59.754Z","1.0.0":"2018-01-31T11:04:59.754Z"},"homepage":"https://github.com/lamansky/sorp","keywords":["singular","plural","string","number"],"repository":{"type":"git","url":"git+https://github.com/lamansky/sorp.git"},"author":{"name":"John Lamansky"},"bugs":{"url":"https://github.com/lamansky/sorp/issues"},"license":"MIT","readmeFilename":"readme.md"}