{"_id":"@akashbro/utility-bro","_rev":"1-2b327b294c93dcaef16811f9f6ce4cd2","name":"@akashbro/utility-bro","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@akashbro/utility-bro","version":"1.0.0","description":"this is a common utility function to reduce your workload","main":"getDomain.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"MIT","dependencies":{},"gitHead":"ceee4c0356ecce3f1d881d623987e3de5cd8370c","_id":"@akashbro/utility-bro@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-QqS4Hl0CNAE+eFbg64hEsfdfpwUWxTs6MtPOp111smH/aiEe+wfowErnlYPhdFwujrsF6ZDx4o3/xzLh3q/qQQ==","shasum":"5586b11b009c219518469d457af233fcdcd4077a","tarball":"https://registry.npmjs.org/@akashbro/utility-bro/-/utility-bro-1.0.0.tgz","fileCount":7,"unpackedSize":4978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTIIpCRA9TVsSAnZWagAAzfsP/iMQndcSBJ/jL9b4CGLX\n89epz3gdk2EEduBw7P7E/DgBisGTh4m4JcquS5YQcaiNrFx9l5bLeXrDfgHC\nfN76CPwvrkUgOgPrEJcHXAF0idoSoHJD7miNpzwiBsWtdKIbYf2RcIre+Ic/\ntLPuBBvzwa0ychxl5zUyhmTr40Dh0+rNQaolfAzWe5WO2Y8YznTJ4+Ktvpyc\nMl7T3umo0EvtFEoIaWx2/t1lG/tGBsIa+PAt5skIo1X9X6k292xCFHHUI0Ex\nm7cxR2+jpmug85dh3IYziwE3CtpN29UPUzd013INmwfsCg/PFsUWyy0vnYOP\nLc+l8OL3yRvOTZ2Nu8dQbGTyUfhPnwfX+jNAm8t1R5C7hN6rdvfyj1zBz3Fg\nidLAYRANvxla8T0qNBYVae3kKupE87xCvgBbSrGcrpOcIt6pKgEn3VtX4M1K\nC64OKkkauEaqI9ckwoBAuZpBQQKpwJHA8L8J1vfJ2vzblSf3NuJVBQ3L3jVA\n/UI+zuOfY1HarfKdp4BiIdf3NEMHtTseDd8p0eN9xtS42NXJ3al6s0AFJlvZ\nlg4oXGF51BCyQWaaHTMXej4lOcU8MSjM+pRQ8e7YCzkdh6YRwg2oj+rWjlIa\nCTVQYSGM48+5UMzNDAhR9SEY32vs+ApokpVSZCnhtOPrawSFlg46xzOCjciw\n1bVE\r\n=+QbO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG924fVOEXVi5SHh9tdRSGk1bucbzKalmvGP7DyHOEY+AiEAvK7Ycqf46C9R+srJ89Z4TOhEU9EdLijkmwU8oeBfBKg="}]},"maintainers":[{"name":"akashbro","email":"akash.chhetri1@gmail.com"}],"_npmUser":{"name":"akashbro","email":"akash.chhetri1@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utility-bro_1.0.0_1598849577370_0.5949543086103048"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-31T04:52:57.324Z","1.0.0":"2020-08-31T04:52:57.491Z","modified":"2022-04-04T12:28:15.173Z"},"maintainers":[{"name":"akashbro","email":"akash.chhetri1@gmail.com"}],"description":"this is a common utility function to reduce your workload","keywords":[],"license":"MIT","readme":"# NPM Utility Bro \n\nnpm-utility is a JavaScript library which will help you use lengthy function in one line.\n\n## Requirement\n\n\nCheck that you have node and npm installed\nTo check if you have Node.js installed, run this command in your terminal:\n\n```bash\nnode -v\n```\n\nTo confirm that you have npm installed you can run this command in your terminal:\n\n```bash\nnpm -v\n```\n\n## Installation\n\nUse the npm package manager by following this [link](https://www.npmjs.com/get-npm)\n\n```bash\nnpm i utility-bro\n```\n\n## Usage\n\n```javascript\nconst randomStringGenerator = require(\"./randomStringGenerator\");\n\n\n    // use len to select length of a random string\n\n    let randomString = '';\n    let selectString = '';\n\n\nconst len = 5;\nconst value = 3\n\nconsole.log(randomStringGenerator());\n```\nvalue = 1 select only lowercase alphabet, value = 2 select only lowercase and uppercase alphabet,  value = 3 select number, lowercase and uppercase alphabet, value >= 4 select special character, number, lowercase and uppercase alphabet\n\nrandomStringGenerator(len = 5, value = 3) means it will return length of string 5 and value will enable you to select type of string.\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update to latest version.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","readmeFilename":"README.md"}