{"_id":"@astrocoders/waterfall","_rev":"7-9123e42e0d835f3d0f830b7d31d615a9","name":"@astrocoders/waterfall","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@astrocoders/waterfall","version":"1.0.0","main":"waterfall.js","author":{"name":"medson10"},"license":"MIT","devDependencies":{"lint-staged":"^7.2.2","pre-commit":"^1.2.2","prettier":"1.14.2"},"pre-commit":"lint:staged","lint-staged":{"*.js":["prettier --write --single-quote true --trailing-comma all --print-width 100 --semi false","git add"]},"scripts":{"lint:staged":"lint-staged"},"gitHead":"8d08084387129248c8f1f1d20899059eaba06422","description":"This function receives an array of promises and resolves all them one by one when the execution of this function finish all promises passed will be resolved. This is more performative than Promise.all when you need to wait for a big array of promises.","_id":"@astrocoders/waterfall@1.0.0","_npmVersion":"6.4.0","_nodeVersion":"8.11.0","_npmUser":{"name":"medson10","email":"medsonoliveira@outlook.com.br"},"dist":{"integrity":"sha512-FZW8Y8N5ZGx/1ORXHMQ3ikUSGbM7ooPHuWwg2HkyWtZRyePzw6HtLQ8oZhlGGCd/oAbHEu/pbbjt7uuZCuUxhg==","shasum":"43ede4e0e2482a0e3f1cbf8796a7ccd893f46ca6","tarball":"https://registry.npmjs.org/@astrocoders/waterfall/-/waterfall-1.0.0.tgz","fileCount":5,"unpackedSize":43521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeslMCRA9TVsSAnZWagAAC3cQAJJiBWsUjZGnGJj0NypI\nZw0LExC8zJFPtrDdSXe2NJuPX7fK27BQnipyE+kWkIlnSJT6JV2TyNQZeDBU\naPUPoCsod4b8goLkBjIjEriKpANO2In+gF4bZI/vKk4wtYnT69oo23s+wuib\n6MFq6FnRvtrRD/tuIgyC52Pv0FMSFqZLFtjX1/cAiugb9DSumtEzZkPdHhK6\nT7Qkhg/su84crUo20pYn/4fQCVcEqIs7ApRNaXy7Yx0BG22qhixzFwBPTs56\nNVcOMqQGjI3mtl6+mK+Jh28wG1ZoBLTh56CMt6l+4TgMoV3FQZSSyPYr44tg\nnvM9BP3EFiimxV5blIjwYZZpaP+45zvAW8jCJhmWoIULlPhXK5z0OCdu0yef\n7OJKz/RJkuV1mopRZExzrcEnmUEiOFfKxdgK3iy+cFNF5jjx213qCz7FukFR\nIm7LaFQKlpYmB6ly16gLsOBkNtPKrgimnnNiWA7MNtoPwKaQZN7pyEqg+/1o\nNyZgTOzOW80EgxSUu+nm9eyyWBOSXi5p3OCiA+AcVqnOtmKSy/UFiggua+wE\nWQSlT1P6q2a1ls7OhcBmUElUwxQY0PXRRd8I92dVRuGnL8XG9YHjyDZXty+F\n2mSWm13jSlglaIhwsLgX46tlmFsEclr/XFK0cTfE9mpHR8xTt2nMQ7Sy0cmi\n/JS8\r\n=WHFG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4QVrNYfAKVRBjMNvcKHHvda/qV3Awotc6NB24P06PAAiEAhURrlRbTc5z/Yq1HH+wteO+DmyUxT8KEFhLM2mFF9JA="}]},"maintainers":[{"name":"gabrielrubens","email":"grsabreu@gmail.com"},{"name":"georgelima","email":"georgelima11@hotmail.com"},{"name":"guilhermedecampo","email":"guilherme.decampo@astrocoders.com"},{"name":"medson10","email":"medsonoliveira@outlook.com.br"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/waterfall_1.0.0_1534773580401_0.7500193688320009"},"_hasShrinkwrap":false},"1.0.1":{"name":"@astrocoders/waterfall","version":"1.0.1","main":"waterfall.js","author":{"name":"medson10","email":"medson.oliveira.jr@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/Astrocoders/waterfall.git"},"homepage":"https://github.com/Astrocoders/waterfall#readme","bugs":{"url":"https://github.com/Astrocoders/waterfall/issues"},"license":"MIT","devDependencies":{"lint-staged":"^7.2.2","pre-commit":"^1.2.2","prettier":"1.14.2"},"pre-commit":"lint:staged","lint-staged":{"*.js":["prettier --write --single-quote true --trailing-comma all --print-width 100 --semi false","git add"]},"scripts":{"lint:staged":"lint-staged"},"gitHead":"9690eb372f81e7fa529ba487f54977a7a910fdda","description":"This function receives an array of promises and resolves all them one by one when the execution of this function finish all promises passed will be resolved. This is more performative than Promise.all when you need to wait for a big array of promises.","_id":"@astrocoders/waterfall@1.0.1","_npmVersion":"6.4.0","_nodeVersion":"8.11.0","_npmUser":{"name":"medson10","email":"medsonoliveira@outlook.com.br"},"dist":{"integrity":"sha512-WYf+1Mi/PDgzGdlWRZoNF4pC4Eu2MXcuEXqcHKXNUsFEXc+qFWwq0N2h+2bQ42ZubMcgtjBohZ//vZP+38rmHg==","shasum":"924249104ca857740bb343a1a9d062194c3b3cfa","tarball":"https://registry.npmjs.org/@astrocoders/waterfall/-/waterfall-1.0.1.tgz","fileCount":5,"unpackedSize":43738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbe17TCRA9TVsSAnZWagAAr/YQAIA/9b2fUqTz5azmiM0s\nMUGDWYbkCQK6vl7lAzXlyCGzijUkYfPHVUgeLrBrcbTTrUvWatM+ntOOdgQ3\nXj4WUOF1KWz7V1+Evn4XwTY9zWdE/61rsaqsqx3HMbMeyXuE+aGRjdE+5HUI\naCRsvljXYfwGHwgSrvskHTdn6lPZaUS9EbbjMGDknFjY25OPu305zns7UBvG\npE/PHQwSlVS9OKuMSHFtYc+lI2+csDXB7AwcCEmQJQ7vUj3xxwG+nYoNzJSP\n0Atvm2Vu1XzM0nwaUXtz6Sz1uK8wuHeiy0qS58VVA1sZeNFlePtvmL5jaNmu\nr7iRm0cU5vQbU/+NkIOoVhBk/F7bWhX95h61rvf/l9vY9qHV2IWU/pR0GFEu\nDqnwR/aEY/GDKT3IX9Ga4Z4bAeGd6NPgS9K1xKQQxVT1H9vnDtK44hXannkD\nPChcwb2JbUvWwob2YxOhVqhLdtK2NYyewTrOvXgvwjBMmEKR4pYYsbGnh8Yd\nuj1rJgkNTTCt8syupiAI0eNH1p1NP3WBWWGZAzdFDGSje2Df/Y9r5vrfPqHk\nk3gHsHyyktvB79QRD5Aa+fQ6ahTXnZdK4OnWjIC+oRHttplG4voy6FeXp7h/\nDRgkAProlVCUepiSacQSR8nCYaAbhfa+tQ/E9yWWfg9vpEgbZd086YVSDKQ1\n9AKX\r\n=jHAk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjTgjFzAXnkc8+wKv2at7j8bd5RzC/DyJLXISI7VkaWgIhAJ2zK1fNyTs1ITW6r1xYXChSqbUCN64L1IIcaleNWUsk"}]},"maintainers":[{"name":"gabrielrubens","email":"grsabreu@gmail.com"},{"name":"georgelima","email":"georgelima11@hotmail.com"},{"name":"guilhermedecampo","email":"guilherme.decampo@astrocoders.com"},{"name":"medson10","email":"medsonoliveira@outlook.com.br"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/waterfall_1.0.1_1534811859325_0.12905622808040063"},"_hasShrinkwrap":false},"1.0.2":{"name":"@astrocoders/waterfall","version":"1.0.2","main":"waterfall.js","author":{"name":"medson10","email":"medson.oliveira.jr@gmail.com"},"repository":{"type":"git","url":"git@github.com:Astrocoders/waterfall.git"},"homepage":"https://github.com/Astrocoders/waterfall#readme","bugs":{"url":"https://github.com/Astrocoders/waterfall/issues"},"license":"MIT","devDependencies":{"lint-staged":"^7.2.2","pre-commit":"^1.2.2","prettier":"1.14.2"},"pre-commit":"lint:staged","lint-staged":{"*.js":["prettier --write --single-quote true --trailing-comma all --print-width 100 --semi false","git add"]},"scripts":{"lint:staged":"lint-staged"},"description":"This function receives an array of promises and resolves all them one by one when the execution of this function finish all promises passed will be resolved. This is more performative than Promise.all when you need to wait for a big array of promises.","licenseText":"MIT License\n\nCopyright (c) 2018 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@astrocoders/waterfall@1.0.2","dist":{"shasum":"0e3e7badb5340bb1a4b3379e5c4f5a20bc74933e","integrity":"sha512-z7FmKeUnlq7vJs2oRkfKIsOoQSNdhXTy4GoL6EQbdwg3LEr8Iy+VfaR8tGuYCW+sdNwu0+izrMATwS8ku/Lntw==","tarball":"https://registry.npmjs.org/@astrocoders/waterfall/-/waterfall-1.0.2.tgz","fileCount":5,"unpackedSize":2486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2vojCRA9TVsSAnZWagAAzX8P/0M6NkTehY5qjLRWHxUF\nSeI7Y5PR9lnpS8YmSyfZbVRTABswfVPtEySBW/o7KCHG0q/8lGmMjoUuAkdc\nEIUx6W87UncmY/nBI+c3Y+CUR8hkyBDBIN1FPY5Oy/pflpWdWVyoLIq8+PCE\n8+BrAioRHoypCo1L/vUR7aCdecTz3ewEsEurvUfmZR6BOcE9cJ7SBSoIS/ik\n70gtQl8MYODG/30igMuUBM4OeXWoBgaDVOhtg8o9QXy8W8j0Bg1NcT+qmgDM\nMFbErxw9DLefisTC9IvcAylFtcjnE0B2S8nFqpE97QjaOkB23uS9fwhMy3cI\nTLERPUQxdhbdhBm/pupSdf1Nmswl7LKeVKJsNcIvYCnJV9EthqB7E26/9TKS\np6mJZPDYiE+96aP7mloVA4g1k91Ar1/dtnV1meCA0E54GtbQSoxMFG8RNdLJ\nYDajoe3Hjk2O2AMa7Pj1wbco3vXTElXlAmlibk39KNWi/XTJ9kvU3G5STmZ/\ngYyxvsgf1ZZfhG1OckswBEGyn/j2VYQ0FUxX8FdHaoZdFAUymhZwF4sJn0Aq\ncXh8l2APEhAQzg1MZM65op0S09kIYEgzX+DA7hXDjpB26Q7CVvxh6F3wlfr3\n1d9j5v5rzboQmv/kFuzfJm8PWUrF6SFH4donv1Zep7yCUeFIpDgtN3cl8IpZ\nlt7j\r\n=+TQs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzOHX7cgiXJhWzhFoaS+oa5Dd+5QuuqloFHBEhm/vnQwIgGGdioab9k3PtQ/2VhRE0iN5byO2F9REUwE877gMO9no="}]},"maintainers":[{"name":"gabrielrubens","email":"grsabreu@gmail.com"},{"name":"georgelima","email":"georgelima11@hotmail.com"},{"name":"guilhermedecampo","email":"guilherme.decampo@astrocoders.com"},{"name":"medson10","email":"medsonoliveira@outlook.com.br"}],"_npmUser":{"name":"gabrielrubens","email":"grsabreu@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/waterfall_1.0.2_1541077538629_0.7327475479259444"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-20T13:59:40.319Z","1.0.0":"2018-08-20T13:59:40.471Z","modified":"2022-04-04T15:54:39.257Z","1.0.1":"2018-08-21T00:37:39.422Z","1.0.2":"2018-11-01T13:05:38.772Z"},"maintainers":[{"email":"gameplayteam12@gmail.com","name":"luizmoratelli"},{"email":"yuri.fabris@gmail.com","name":"yurijean"},{"email":"lucassilvabesen@gmail.com","name":"lucasbesen"},{"email":"eliabesajunior@gmail.com","name":"eliabejr"},{"email":"medsonoliveira@outlook.com.br","name":"medson10"},{"email":"grsabreu@gmail.com","name":"gabrielrubens"},{"email":"georgelima11@hotmail.com","name":"georgelima"},{"email":"guilherme.decampo@astrocoders.com","name":"guilhermedecampo"}],"description":"This function receives an array of promises and resolves all them one by one when the execution of this function finish all promises passed will be resolved. This is more performative than Promise.all when you need to wait for a big array of promises.","author":{"name":"medson10","email":"medson.oliveira.jr@gmail.com"},"license":"MIT","readme":"# Waterfall\n\nThis function receives an array of promises and resolves all them one by one when the execution of this function finish all promises passed will be resolved. This is more performative than Promise.all when you need to wait for a big array of promises.\n\n# Install\n````\nyarn add @astrocoders/waterfall\n````\n\n# Usage\n````\nimport waterfall from '@astrocoders/waterfall'\n\nconst result = await waterfall(\n\tlist.map(item => async () => {\n\t\treturn new Promise((resolve, reject) => resolve(item * 2))\n\t}\n)\n````\n","readmeFilename":"README.md","homepage":"https://github.com/Astrocoders/waterfall#readme","repository":{"type":"git","url":"git@github.com:Astrocoders/waterfall.git"},"bugs":{"url":"https://github.com/Astrocoders/waterfall/issues"}}