{"_id":"@agonxgashi/luckyjs","_rev":"1-16516e0ed3ed2cba441f0ab77109e981","name":"@agonxgashi/luckyjs","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agonxgashi/luckyjs","version":"1.0.0","keywords":["lucky","random","boolean","library","javascript"],"author":{"name":"Agon Gashi"},"license":"MIT","_id":"@agonxgashi/luckyjs@1.0.0","maintainers":[{"name":"agonxgashi","email":"agonxgashi@gmail.com"}],"homepage":"https://github.com/agonxgashi/luckyjs#readme","bugs":{"url":"https://github.com/agonxgashi/luckyjs/issues"},"dist":{"shasum":"3b009e14381a1fdff170deafc6a59ea29848b1ae","tarball":"https://registry.npmjs.org/@agonxgashi/luckyjs/-/luckyjs-1.0.0.tgz","fileCount":4,"integrity":"sha512-QFvQGyVNhADytncUHzX33uaSAOhuaTSYomSkltUu91xcdQNYz9lqol3KdIRfQeSATdcSPmyIyyqsiYlZLMIcOA==","signatures":[{"sig":"MEQCIBeiuA2LHZXEYxmIuGxIS3Xzk0dsbfQLzKvxSBp5k1qcAiAm2CmnapCnixEEwRmewakZYbxkniFROOL3DJpCFc3M8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2503},"main":"index.js","type":"commonjs","gitHead":"5b8a7f5b3645c40681566a5af8ffb5382034b5d9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"agonxgashi","email":"agonxgashi@gmail.com"},"repository":{"url":"git+https://github.com/agonxgashi/luckyjs.git","type":"git"},"_npmVersion":"10.5.2","description":"A lightweight JavaScript library to generate a random boolean value","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/luckyjs_1.0.0_1724092104153_0.8527840029305356","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@agonxgashi/luckyjs","version":"1.0.1","description":"A lightweight JavaScript library to generate a random boolean value","main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/agonxgashi/luckyjs.git"},"keywords":["lucky","random","boolean","library","javascript"],"author":{"name":"Agon Gashi"},"license":"MIT","bugs":{"url":"https://github.com/agonxgashi/luckyjs/issues"},"homepage":"https://github.com/agonxgashi/luckyjs#readme","_id":"@agonxgashi/luckyjs@1.0.1","gitHead":"64933f4698a24e714f9c3f782f1e2e2b60b21f06","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-NDePwA3yj6rdTmu/6dXNtDcowuMZTP5pUxsQzMNKWVXlKFAiE44745jLYV8AgVkgI3Ew8wP0nz/MPnFiZQmftw==","shasum":"29cdbe2e1374fe302253fc9359b8f5dedd4200fb","tarball":"https://registry.npmjs.org/@agonxgashi/luckyjs/-/luckyjs-1.0.1.tgz","fileCount":4,"unpackedSize":2511,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGolKvoPnepqWA2VdvV6R/MvQ4etFj6D3cSFscrKEfKiAiBqZXE7lxSdfdn7UXKqSqn2vUQtCH8XgEx3DviMSZMrPQ=="}]},"_npmUser":{"name":"agonxgashi","email":"agonxgashi@gmail.com"},"directories":{},"maintainers":[{"name":"agonxgashi","email":"agonxgashi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/luckyjs_1.0.1_1724093077943_0.5392061179149492"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-19T18:28:24.035Z","modified":"2024-08-19T18:44:38.266Z","1.0.0":"2024-08-19T18:28:24.334Z","1.0.1":"2024-08-19T18:44:38.082Z"},"bugs":{"url":"https://github.com/agonxgashi/luckyjs/issues"},"author":{"name":"Agon Gashi"},"license":"MIT","homepage":"https://github.com/agonxgashi/luckyjs#readme","keywords":["lucky","random","boolean","library","javascript"],"repository":{"type":"git","url":"git+https://github.com/agonxgashi/luckyjs.git"},"description":"A lightweight JavaScript library to generate a random boolean value","maintainers":[{"name":"agonxgashi","email":"agonxgashi@gmail.com"}],"readme":"# LuckyJs\r\n#### A lightweight JavaScript library to generate a random boolean value\r\n\r\n## Installation\r\nYou can install the library via npm\r\n```bash\r\nnpm install @agonxgashi/luckyjs\r\n```\r\n\r\n## Usage\r\n```Javascript\r\nconst lucky = require('@agonxgashi/luckyjs');\r\n\r\nconst bool = lucky(); // Returns either true or false randomly\r\nconsole.log(bool);\r\n```\r\n\r\n## API\r\n`lucky(probability)` - Returns a random boolean value (true or false). Probability is optional and can be a numeric value from 0 to 100. If not provided. default is value is 50.","readmeFilename":"readme.md"}