{"_id":"@bikashpandey/isodd","_rev":"2-bf58b754439927c2c29519ed06fefc58","name":"@bikashpandey/isodd","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bikashpandey/isodd","version":"1.0.0","keywords":[],"author":{"name":"Bikash Pandey"},"license":"ISC","_id":"@bikashpandey/isodd@1.0.0","maintainers":[{"name":"bikashpandey","email":"bikashpandey835@gmail.com"}],"homepage":"https://github.com/Bikashpandey90/isOdd#readme","bugs":{"url":"https://github.com/Bikashpandey90/isOdd/issues"},"dist":{"shasum":"5ca8385e62e8ad0ecf427de23b2feef3b07e8410","tarball":"https://registry.npmjs.org/@bikashpandey/isodd/-/isodd-1.0.0.tgz","fileCount":3,"integrity":"sha512-yuBGpjI6jLIPDZh/taOIA8+EY5Yx1a0uZqDNy+rVGEblBWHzB9mmcNm75/uJE9z8z7kUw3+eHJkrDN1KVGrHvQ==","signatures":[{"sig":"MEUCIQCBoxdq9CGfXr0ohiM4OPg0nAOYj+S7/NbKsX52TSZTcAIgMVzyLIq1+U2kLUy7chhQ2cl3OnHGQL3M8KjVs+mC6sM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":621},"main":"index.js","type":"commonjs","gitHead":"91f43ca73d00c94c2838001e1ffaf9ec21d658dd","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"bikashpandey","email":"bikashpandey835@gmail.com"},"repository":{"url":"git+https://github.com/Bikashpandey90/isOdd.git","type":"git"},"_npmVersion":"11.14.1","description":"\"# isOdd\"","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/isodd_1.0.0_1781109058964_0.028680346452502947","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bikashpandey/isodd","version":"1.0.1","description":"\"# isOdd\"","keywords":[],"homepage":"https://github.com/Bikashpandey90/isOdd#readme","bugs":{"url":"https://github.com/Bikashpandey90/isOdd/issues"},"repository":{"type":"git","url":"git+https://github.com/Bikashpandey90/isOdd.git"},"license":"ISC","author":{"name":"Bikash Pandey"},"type":"commonjs","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"91f43ca73d00c94c2838001e1ffaf9ec21d658dd","_id":"@bikashpandey/isodd@1.0.1","_nodeVersion":"22.11.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-g3A3D7JYPO7k/kbBwnlQ2Gs7TAZMOWlXd5eoWiPrHe+AqH7eFqZaca9wBD9O0k3j7DcLjDjkV0+f7EphI8oBEw==","shasum":"34aa96080d635c17acbe2168082425f5182a1656","tarball":"https://registry.npmjs.org/@bikashpandey/isodd/-/isodd-1.0.1.tgz","fileCount":3,"unpackedSize":1526,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBNyvQy9UKtf+hDb5RnmOuxafi8WI/I/jUdutyujJKPrAiBCc5/VOtPvN4Nla7G5j9kzm4WCwqLX5UenIibNpRvNpw=="}]},"_npmUser":{"name":"bikashpandey","email":"bikashpandey835@gmail.com"},"directories":{},"maintainers":[{"name":"bikashpandey","email":"bikashpandey835@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/isodd_1.0.1_1781109754268_0.8169112184268774"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-10T16:30:58.725Z","modified":"2026-06-10T16:42:34.547Z","1.0.0":"2026-06-10T16:30:59.097Z","1.0.1":"2026-06-10T16:42:34.430Z"},"bugs":{"url":"https://github.com/Bikashpandey90/isOdd/issues"},"author":{"name":"Bikash Pandey"},"license":"ISC","homepage":"https://github.com/Bikashpandey90/isOdd#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Bikashpandey90/isOdd.git"},"description":"\"# isOdd\"","maintainers":[{"name":"bikashpandey","email":"bikashpandey835@gmail.com"}],"readme":"# is-odd-util\r\n\r\nA simple utility to check whether a number is odd. This is only created for learning npm publishing.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @bikashpandey/is-odd-util\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nconst isOdd = require(\"@bikashpandey/is-odd-util\");\r\n\r\nconsole.log(isOdd(3)); // true\r\nconsole.log(isOdd(8)); // false\r\nconsole.log(isOdd(-5)); // true\r\nconsole.log(isOdd(0)); // false\r\n```\r\n\r\n## Description\r\n\r\nThis function determines whether a given number is odd using the modulo operator.\r\n\r\n```javascript\r\nnumber % 2 !== 0;\r\n```\r\n\r\n## API\r\n\r\n### isOdd(number)\r\n\r\n- **Parameter:** `number` (Number)\r\n- **Returns:** `Boolean`\r\n  - `true` if the number is odd\r\n  - `false` otherwise\r\n\r\n## Example\r\n\r\n```javascript\r\nconst isOdd = require(\"@bikashpandey/is-odd-util\");\r\n\r\nconsole.log(isOdd(11)); // true\r\nconsole.log(isOdd(12)); // false\r\n```\r\n\r\n## License\r\n\r\nISC\r\n\r\n## Author\r\n\r\nBikash Pandey\r\n","readmeFilename":"README.md"}