{"_id":"@asanrom/async-tools","_rev":"10-fd245f54833771250f17cf0e1f80b9e5","name":"@asanrom/async-tools","dist-tags":{"latest":"2.2.0"},"versions":{"0.0.1":{"name":"@asanrom/async-tools","version":"0.0.1","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@0.0.1","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"fbc2197ca22e87248abb2e07607a6ea060c07a03","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-0.0.1.tgz","fileCount":11,"integrity":"sha512-tBcF2mYE4kL05g722ZhCZTssq9/ANcvRoNdqmPDFJvilsEuBAEMJgFNu96GVJqEcBhXiXwJ1vZFESspvJZ/M3w==","signatures":[{"sig":"MEUCIDBNqve7gSi5AXCagVvAk6ZSieUAWKlc/na9mk31c4p1AiEAx9LUfk0aS6FafLVSw3/qrY3TLRjHt3btUNn3hYih9EY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+STfCRA9TVsSAnZWagAANu8QAJNkhNBwJUXM1LH9aAnd\nn2mnmgqq0DSf8+HMg7Kb0e11LWD9Lr7k0p8aw9n6iC86lacwOIBFcTm1Jkct\nisILuWk7/wCnngNcOnTBBX1sgySD1bwSNJ1+OACEOc3Xnx76wnFtdMhb7NqM\nIZXob+Ik/nSaibindX7op/yCkiq+ROmv/heDHN+YegYrI+mFQNuFeQlGN+Dt\nzb6FkZHlgK1FOOegzo0/uhiaSAEr45Pc0hjaT9ANtMYqlo97J/Mu1ZW3WkKM\nY3UdxP+zgVfv8CYAgHUP3EIobmBkSAEqLNjEDzbHlgM84lVKjrriaG6q45Se\nbadCD5vMAeRrnYgkhmUzTw+S6hpRBrql6E3iyLtNQ6RM58GAbKyG0MsFhh8y\nJpfvjVArzu8NFES6Qm1SGsFk756gkGSOK0CqqOFfws1gYOzfcHGittPi+2Tt\nLJ3zZlDpYDaLY177KBYsLR6I75fSNpq8N2pXv3iDfOguZAUvgc2kZWS/MEqs\nqngkmlweMaYwjNBV3eAurowSeEWIMUrgITNP2TaoI0FE8tPk4eXxxIGscRRg\nQ/pUtClLpqoCgChqofuN7lB8Bt6BpJtEjbhFo3neqc5QUplHiWa9RnkSXDmT\nduGHA/cOBxs1PQh5Y4o/TK2F5x2e7Z88FGmNaZv3f6FaXEXB8y1cYCjMgZQ0\nKy2L\r\n=YmO5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 10.16.3"},"gitHead":"e3ac8c9f74708978842123e1e349b52921946283","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile && npm run gendoc","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"7.17.0","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.0.1","eslint":"^7.26.0","rimraf":"^3.0.2","ts-node":"^10.0.0","typedoc":"^0.20.36","webpack":"^5.38.1","ts-loader":"^9.2.3","typescript":"^4.2.4","@types/chai":"^4.2.19","@types/node":"^15.0.2","webpack-cli":"^4.7.2","@types/mocha":"^8.2.2","@typescript-eslint/parser":"^4.22.1","@typescript-eslint/eslint-plugin":"^4.22.1"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_0.0.1_1626940639475_0.6888005594511404","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@asanrom/async-tools","version":"0.0.2","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@0.0.2","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"f4beb040d1d3fa111fad6bd1f23b697b0336ef41","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-0.0.2.tgz","fileCount":11,"integrity":"sha512-6arK83lsoXmpMaL/23jpetsB7RNGZ/G0YA75+aPtxxFOd465oyB24k2qujEzc5qjrmRK9tLHAJrdvNUg1b+vqg==","signatures":[{"sig":"MEUCIQDE7KgsTTUj1ehf0pZ/K6SpF6DJNVIyJ1ai2KhtY0dF+AIgb0bci/T2c5I433IgCKIqBx03hzJhuxBVvZN40jB1gKA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwzmlCRA9TVsSAnZWagAA228P/12cg050PHz9lMabjs33\nfu5/JH82+WyiW0++4noUcmCmqb90Q4JxFdCfeYbCqoaEw6vnwULhhvO738ae\nNgx9pwsaUorYKfRxXWNOPnBm7wZV7eZs31fIqv+gQ+HnJDW/7xUdGl8uY4uD\nAySYjFTtjwboElgBQZWlBO21uvPY6tqyeFCXK2KPn1mAQRCdkTf1fvzhkgY9\nmuGnjOZ1GH2iplvCVqdZYmJeNNpIlOglQ5dAkgYc+/UOlntwxfMLXMo41jln\nXMHcSAGC4ENnZglyIUEbgCKWIcbqrLZXazHNcd60ciAUtn4QOracF0vHAk81\nxqx8mrY+kgxMYtv3gLFbkwJrvBDklFm8dBlwYaJNTUK+HEZfAHebyVKXBrrm\nD1XaYvdVIT+ozAUtqYIEIy1ioE3LvGLwCKUF5J95EDP6xwHZ6mYyIGdxSN8z\nbB26mG0lTYp5f5WuF4QtTQK7ipKnDeVHOPYuJ1VL3qvLBIOriiY1nxogFf0g\n6YK/83JuX3mRlvNXQafDmqUqceCxxpms3UasC4RxKHSsBgFEA0BY3Tsm22ZN\n9vNjUB1ugpVEqs9b4lb4NFzHrV8xo5cH1fRQFSIEM33b3KwL9jPtGNvHCpBO\njlK/efIp/gFjrRlgEhR9p9t96HmepxFcf8whvFsANjPSB2k4+C21egtOgXbo\nHKrX\r\n=BNFM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 10.16.3"},"gitHead":"9dc64a03c8299a2adb22fd53fde2f9b5bfcfbf0d","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile && npm run gendoc","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"7.24.0","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"12.22.6","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3","eslint":"^8.0.1","rimraf":"^3.0.2","ts-node":"^10.3.1","typedoc":"^0.22.6","webpack":"^5.59.1","ts-loader":"^9.2.6","typescript":"^4.4.4","@types/chai":"^4.2.22","@types/node":"^16.11.3","webpack-cli":"^4.9.1","@types/mocha":"^9.0.0","@typescript-eslint/parser":"^5.1.0","@typescript-eslint/eslint-plugin":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_0.0.2_1634899438473_0.547239770038016","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@asanrom/async-tools","version":"1.0.0","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@1.0.0","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"abe19bbbc8bea296ffebef5e887cbd409e6b3bba","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-1.0.0.tgz","fileCount":11,"integrity":"sha512-VLz2lTd04NXuA7ahZF+FDUWDQ5TiB+0dMDI2r2J13SHfd2H57bNJFEhHI4WyZxGsryU/RjSXHCzvdwD2gLjDhg==","signatures":[{"sig":"MEQCICM9M4xUa5W8YdeYEoRBFjdU1gkNWCKYpKj6pAGjr03KAiBJMuZjdtozCw+9YlNpd4iNzVqa8oAOKx4RQuGK6DhrfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNIDBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOHw//bwX5TatE6W9JV2c/sj/hkxyEtcLagMKij4yTIP9nLCRgbz0V\r\n8YuFRIOkCmHtgoJA94VZbRlkBpM+tsFWiPCK0mrbLwyr7LLVJ2aBtMXCiub3\r\ndfOIgeietRUV4T+R4pPcGZuAqjALyW0zkODsN/h1NZYnxOi8bXp/XWsQYHwR\r\n5cmijOEzXPKwJBjTjIk7+ljiGZg9KMVeQyZ4J0nkvLVXwaT4A4p0WsOloIFl\r\nMIQ7FCYnxsZu2fCPsSXCwlEechd86ONNYlx+Bp0aMyHCkQkMAKNwJjKKhZ5c\r\nQrtlBZSIJevJlJP51wZ2uc4xJktX+II0VeYZftdyx73dG6BK5mLip1qG8OQ/\r\nlfCzpe/XsT9Vv7ExkJlZqUbgG1dpIm/phqifsgyRPMsZUNpboI027PkBjoaB\r\nUlpJBxYgHK+RHbT5KJQyHNim0lE3948miGOPQtZWL0DHfADx/984uDuV9KS6\r\nbQ2s+AyTbsl888r52vq8pF3mw4hm9PZCL2a6J7DYOG/TzYi7nUejv8NIqwCl\r\nQ/0sftNmPP1MFB5IhCkgNA/749Idy8Ng1ziRxV1oEvLzRjvWcacJ0pd6qmgD\r\n2yWunL22yrnRkwqFHWJUwNUXNhJQik5ODJwa51EcWrEQXT3gdcdD4TgqY/yq\r\nmjJru8gvb/zqnGckMT8ABgEEu8cveOOpyJg=\r\n=opRB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 12.0.0"},"gitHead":"ce3bc91fff3effbbad3f28bdae1398199f35b6d6","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile && npm run gendoc","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"8.5.5","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"14.17.5","_hasShrinkwrap":false,"devDependencies":{"chai":"4.3.6","mocha":"9.2.1","eslint":"8.9.0","rimraf":"3.0.2","ts-node":"10.5.0","typedoc":"0.22.11","webpack":"5.69.1","ts-loader":"9.2.6","typescript":"4.5.5","@types/chai":"4.3.0","@types/node":"17.0.18","webpack-cli":"4.9.2","@types/mocha":"9.1.0","@typescript-eslint/parser":"5.12.0","@typescript-eslint/eslint-plugin":"5.12.0"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_1.0.0_1647608001513_0.905053754957734","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@asanrom/async-tools","version":"1.1.0","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@1.1.0","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"7975a8ca5f861f59b7450e810cd07d4ad628d5ea","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-1.1.0.tgz","fileCount":11,"integrity":"sha512-eu8J39ZP1U0VDy6OcNQ9AoTV2TNafdAqKIdZZ7h8s38J40HeCm1E6UapsvWrtyN3g4MsJ6nNKZZ7KnQdpTHaLQ==","signatures":[{"sig":"MEYCIQCsMcq0ql160xzsx4SLvoA+YNzZ6DTiH56w8kiKuUNvSQIhAMugwf4tVj2EdJrG3wWxFqHwQTVQlwj8dg+kfV+zDA3J","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOnobACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4rg//TlO6dAR2RwA9avbLrHkAOrZtQIws+I0Bo3/X/QaQZ73XXsGY\r\n9lyQhEghaChRkrU2Ymvs1PgdVl+4MIJfnCrbfY2ErJOIR4TOY1/G+ZaOozfA\r\nh65+on3fncsMBpKgnIyjXZBrd4bi/2F7hlhgw9QqslHrAHROJGLoVTA9xOWN\r\nMadUh4SI7VDN2P9asnA/qa1qTA3wKYIWIM+/M38CmmDQv8D8sYt0b4Nwz2Gi\r\nfGKwazi5P5SmpsDGtMoUw8QTH8gfNkbE9AQ6RI/taB9xwcdsgc5gVt8xRXQ2\r\nLgvpqj7Q6uYWgwGSlUXNbv7R6jgPADVV/j30QpniFgwKDJAtGFHwKiMIe4Wv\r\nv2XVLSvtaBf8/6/znF8rjA/w0vYm1spXlghaLW2KZ9XH6pTYOpohceZIn45Q\r\n6az2vaEiSidS2T1+hEAmPnVxyNRAkIxM49SqsXZfK24DQ/sUflz+sBcABBrZ\r\ntWi9MtEJH56PNcp3hWG9lPd4muRn8qnYsY5JkMyp0t29tzvmogXcuFsLof+2\r\nNNwaI7JWrac00yBIf+a5XF1agdf/gtlbIiUA0jeFtzUr93AT3InP8N695hOS\r\nbijA5m16tXVA7povPZDoy/OdmjLJ1FPjUkheCpo4+/bvBSweDXzc7oO0GtdT\r\nZ7B+xnkb0mmTRtOHnxhS5Q4pyTiFTZNU+u8=\r\n=jkc3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 16.0.0"},"gitHead":"c3122ffd8cf8e8e652c9b393701b59be1e055893","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"8.5.5","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"chai":"4.3.7","mocha":"10.2.0","eslint":"8.36.0","rimraf":"4.4.0","ts-node":"10.9.1","typedoc":"0.23.27","webpack":"5.76.2","ts-loader":"9.4.2","typescript":"4.9.5","@types/chai":"4.3.4","@types/node":"18.15.3","webpack-cli":"5.0.1","@types/mocha":"10.0.1","@typescript-eslint/parser":"5.55.0","@typescript-eslint/eslint-plugin":"5.55.0"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_1.1.0_1681553946944_0.3533327486076929","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@asanrom/async-tools","version":"1.1.1","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@1.1.1","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"3efa326dae1b6e3f43ce9fbdf775179271512a3b","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-1.1.1.tgz","fileCount":11,"integrity":"sha512-f3cfzWk3OMmUt7w9vgiwSSghCR/UU4cixqGFqXNwQbxHAqZFHoLwOsXgj7mJ2lNlY+ygwqX7lORPsT+9l5lxPA==","signatures":[{"sig":"MEUCIAEoIM7BokQ0p4GwvPTlqsnbEAwn5SS1aCQX6dAy5ByVAiEA7VRGSZrAYHhdddWAyWTQHbakprEQ8Bs8CeZPV19Ri8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkULjbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrg3w//crRs1L2a4+4Fxm41oNoIu7uXodxifD+9E1XXBGA8m9AVUIJo\r\nai/D3S/BnpLu4NGzVbBAKwKvNO+sCU9D244ecBNg7avTr66DOIhuBqvUELZQ\r\n1wwndMqk3USOCpn+X+F9IZps5WnfQDg1hoHR+2q7xqYkcbKIk6mmQg6LGDsl\r\n0z/FuUvl+rbu1tEUrDDBAWYhg3iAE7COK+wgChL9THS+5Dk9zMP3PIpG37BX\r\nNvrU9mI4auI7W9U+9quzbNc/woqHbOiXGfOmeaMx4cBFaTK1tfpRF9bgiOER\r\ng4QgfoAEHOFNB3pQn3rBAVchZZUYcAX2lLNc3SD9KfzSJ2d66JORiA2RF3GW\r\nOLSAUfF3Q/qn+YMHoIDCP4Dmbkjm2Ccm4yaWScrFg+ULmIJ+VGO6MzuNFuG9\r\ntL5MYjR4Y2V35DssS8apcprteLT6/xjdZxNlNpBmNLZxZx/b+CuEJupvTaxO\r\nppHlyt66AFUkHhd6vhMh0Tv8JeD1ksHgggcmx5R91EmdJ/yuoE9JUGpeY9ZZ\r\nq4YS0lQjBzLVRKcqRmWulLhNOLjBQNBV3Uj5keVDrQelk15xAg7B6Yan5cFr\r\n9QwZAe5XRzM791lBAuUV9tVST+eo3nHkOKsi/hYemwKv6NoMRhCLioRZ1Gky\r\nShJQ3pn2iCH3z10Ol6dh0L7MR7LZy0nq7nM=\r\n=0azB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">= 16.0.0"},"gitHead":"3ee3df5353df9564c0ace6ccd4dcd82d18bb1dcc","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"8.5.5","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"chai":"4.3.7","mocha":"10.2.0","eslint":"8.36.0","rimraf":"4.4.0","ts-node":"10.9.1","typedoc":"0.23.27","webpack":"5.76.2","ts-loader":"9.4.2","typescript":"4.9.5","@types/chai":"4.3.4","@types/node":"18.15.3","webpack-cli":"5.0.1","@types/mocha":"10.0.1","@typescript-eslint/parser":"5.55.0","@typescript-eslint/eslint-plugin":"5.55.0"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_1.1.1_1683011803060_0.1602361280122877","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@asanrom/async-tools","version":"2.0.0","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@2.0.0","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"f9804b8f74bb52e3e944b4d3d099a0b29ed1464e","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-2.0.0.tgz","fileCount":13,"integrity":"sha512-Fahq0sA4fmfmuNifmNIBZgV5P6nbKZSlkazwWJdtNVXqZ1OtXYuC2ULqGLpNjctBWPixjphPw/z/5ibadbAnGw==","signatures":[{"sig":"MEUCIGiCa4HJSKExvzm7PwIkG7ozwPOvRu5mhzU4Frv4HFvxAiEAnwIAU5mWd0ct0yUv1G8HbBg2TPNP08WEypBI/BN4OGo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26222},"main":"dist/index.js","engines":{"node":">= 16.0.0"},"gitHead":"41a08fb404d7f11510c67c73beae895d0db44297","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"8.5.5","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"chai":"4.3.7","mocha":"10.2.0","eslint":"8.36.0","rimraf":"4.4.0","ts-node":"10.9.1","typedoc":"0.23.27","webpack":"5.76.2","ts-loader":"9.4.2","typescript":"4.9.5","@types/chai":"4.3.4","@types/node":"18.15.3","webpack-cli":"5.0.1","@types/mocha":"10.0.1","@typescript-eslint/parser":"5.55.0","@typescript-eslint/eslint-plugin":"5.55.0"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_2.0.0_1724506965449_0.5275490533475646","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@asanrom/async-tools","version":"2.1.0","author":{"url":"https://github.com/AgustinSRG","name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com"},"license":"MIT","_id":"@asanrom/async-tools@2.1.0","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"homepage":"https://github.com/AgustinSRG/async-tools","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"dist":{"shasum":"68d896cde276ad09e5b9f509cbf6a8e3e6db9d32","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-2.1.0.tgz","fileCount":13,"integrity":"sha512-Tmjg3B0QEzgw3RwiSWtp6zkW4YcW82WItiriwtrInP3zrlqwJdPfkVDag8Aq3sXbMeRlSEKma5+Qq+DN8MFOSg==","signatures":[{"sig":"MEYCIQCaYjOIBp9thfOz3qo0XvM27ZdupXOsVxivRFeEhF+HGAIhAPfY4Waq1k2GBHslLxLcqrBprrP1VZdfqpDEUH8hI87y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26321},"main":"dist/index.js","engines":{"node":">= 16.0.0"},"gitHead":"9a14f9d4c9b9f12f02cbcd64c11e0e8b1c8aaf8e","scripts":{"lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"rimraf dist && npm run compile","gendoc":"typedoc --out docs ./src","compile":"tsc --pretty --declaration && webpack","prebuild":"npm run lint"},"typings":"dist/index.d.ts","_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/AgustinSRG/async-tools.git","type":"git"},"_npmVersion":"8.5.5","description":"Collection of tools to work with async functions.","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"chai":"4.3.7","mocha":"10.2.0","eslint":"8.36.0","rimraf":"4.4.0","ts-node":"10.9.1","typedoc":"0.23.27","webpack":"5.95.0","ts-loader":"9.4.2","typescript":"4.9.5","@types/chai":"4.3.4","@types/node":"18.15.3","webpack-cli":"5.0.1","@types/mocha":"10.0.1","@typescript-eslint/parser":"5.55.0","@typescript-eslint/eslint-plugin":"5.55.0"},"_npmOperationalInternal":{"tmp":"tmp/async-tools_2.1.0_1733391135812_0.2649432082736365","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@asanrom/async-tools","version":"2.2.0","description":"Collection of tools to work with async functions.","main":"dist/index.js","typings":"dist/index.d.ts","homepage":"https://github.com/AgustinSRG/async-tools","repository":{"type":"git","url":"git+https://github.com/AgustinSRG/async-tools.git"},"scripts":{"prebuild":"npm run lint","compile":"tsc --pretty --declaration && webpack","build":"rimraf dist && npm run compile","lint":"eslint --fix src/**/*.ts","test":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","gendoc":"typedoc --out docs ./src"},"author":{"name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com","url":"https://github.com/AgustinSRG"},"engines":{"node":">= 16.0.0"},"pre-commit":["lint"],"devDependencies":{"@types/chai":"4.3.4","@types/mocha":"10.0.1","@types/node":"18.15.3","@typescript-eslint/eslint-plugin":"5.55.0","@typescript-eslint/parser":"5.55.0","chai":"4.3.7","eslint":"8.36.0","mocha":"11.7.6","rimraf":"4.4.0","ts-loader":"9.4.2","ts-node":"10.9.1","typedoc":"0.23.27","typescript":"4.9.5","webpack":"5.107.2","webpack-cli":"5.0.1"},"license":"MIT","gitHead":"4cc0f2b7f10f173ddd68f8c74906de021a75e321","_id":"@asanrom/async-tools@2.2.0","bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"_nodeVersion":"22.21.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-mGJGXxqblNc2IKLbhScbcfbVYAAdzvSHtd8S83k/Yg/R7nt5L4Yn9Tle9HYg934bph4CTW4L3PEJ37Uvt4vxlg==","shasum":"6422212c6f22ba40af1f8f84b8dd9e73336e1363","tarball":"https://registry.npmjs.org/@asanrom/async-tools/-/async-tools-2.2.0.tgz","fileCount":13,"unpackedSize":25674,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDlPGTmO+/3BSVtPdkSD39VJVN1ccb1GOVf6vWeh5oNVQIhAPATAlKvYTOMI5pOqKlQ+JU61LqnAKv9Ww1XE0c8HDLU"}]},"_npmUser":{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"},"directories":{},"maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/async-tools_2.2.0_1781438439629_0.19465488645159312"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-22T07:57:19.381Z","modified":"2026-06-14T12:00:39.884Z","0.0.1":"2021-07-22T07:57:19.802Z","0.0.2":"2021-10-22T10:43:58.658Z","1.0.0":"2022-03-18T12:53:21.666Z","1.1.0":"2023-04-15T10:19:07.135Z","1.1.1":"2023-05-02T07:16:43.222Z","2.0.0":"2024-08-24T13:42:45.598Z","2.1.0":"2024-12-05T09:32:15.996Z","2.2.0":"2026-06-14T12:00:39.776Z"},"bugs":{"url":"https://github.com/AgustinSRG/async-tools/issues"},"author":{"name":"Agustin San Roman","email":"agustinsanromanguzman@gmail.com","url":"https://github.com/AgustinSRG"},"license":"MIT","homepage":"https://github.com/AgustinSRG/async-tools","repository":{"type":"git","url":"git+https://github.com/AgustinSRG/async-tools.git"},"description":"Collection of tools to work with async functions.","maintainers":[{"name":"asanrom","email":"agustinsanromanguzman@gmail.com"}],"readme":"# Async tools\n\n[![npm version](https://badge.fury.io/js/%40asanrom%2Fasync-tools.svg)](https://badge.fury.io/js/%40asanrom%2Fasync-tools)\n\nCollection of tools to work with async functions in javascript.\n\n## Installation\n\nIf you are using a npm managed project use:\n\n```\nnpm install @asanrom/async-tools\n```\n\nIf you are using it in the browser, download the minified file from the [Releases](https://github.com/AgustinSRG/async-tools/tags) section and import it to your html:\n\n```html\n<script type=\"text/javascript\" src=\"/path/to/async-tools.js\"></script>\n```\n\nThe browser library exports all artifacts to the window global: `AsyncTools`\n\n## Async Interval\n\nInterval that waits for the async function to end before running it again. Prevent multiple simultaneous executions.\n\nExample use case: Async periodic task\n\nUsage:\n\n```ts\nimport { AsyncInterval } from \"@asanrom/async-tools\";\n\nconst interval = new AsyncInterval(async function () {\n    await doSomethingAsync();\n}, 1000 /* Milliseconds */);\n\ninterval.on(\"error\", error => {\n    // If the promise is rejected it will emit\n    // and error event. If you want the interval to continue\n    // when this happens, you have to assign an error handler\n    console.error(error);\n});\n\ninterval.start(); // Start the interval\n\ninterval.stop(); // Stops / Clears the interval\n```\n\n## Async Queue\n\nQueue with an async item handler.\n\n - Items are handled in order (FIFO)\n - If the handler is an async function, it waits for it to finish before dispatching the next item\n\nUsage:\n\n```ts\nimport { AsyncQueue } from \"@asanrom/async-tools\";\n\nconst queue = new AsyncQueue(\n    MAX_SIZE, // Max size of the queue or 0 for unlimited size\n    async function (item) { // Item handler\n        await doSomethingAsync(item)\n    }\n);\n\nqueue.on(\"error\", error => {\n    // If the promise is rejected it will emit\n    // and error event. If you want the queue to continue\n    // when this happens, you have to assign an error handler\n    console.error(error);\n});\n\nconst items = [1, 2, 3, 4];\nitems.forEach(item => {\n    // Use push(item) to push items to the queue\n    // They will be dispatched automatically\n    // Push will return false if the item was dropped\n    queue.push(item);\n});\n\n// We can check the size of the queue (number of items in it)\nqueue.getCurrentSize();\n\n// Also we can check if it's full\nqueue.isFull();\n\n// If we want to release the resources of the queue\n// we can call destroy()\n// It returns a promise that waits if there is an item\n// in the mid of being handled\nawait queue.destroy();\n```\n\n## Async Semaphore\n\nSemaphore to create critical sections on async functions.\n\nUsage:\n\n```ts\nimport { AsyncSemaphore } from \"@asanrom/async-tools\";\n\n\nconst sem = new AsyncSemaphore(); // Without params, initial instances is 1 (Mutex)\nconst sem3Instances = new AsyncSemaphore(3); // 3 initial instances\n\n// Acquire instances, if it can't acquire\n// the promise will resolve when the instances are available\n// it will reject if the semaphore is destroyed\nawait sem.acquire();\n\n// Release instances and resolve the promises\nsem.release();\n\n// Rejects all promises waiting to acquire the semaphore\n// After destroyed, it cannot be used anymore\nsem.destroy();\n```\n\n## Async Provider\n\nProvides values asynchronously, allowing a function to await the value while other function eventually provides the value.\n\nIt also provides a timeout option to set a max time to wait for the value.\n\nUsage:\n\n```ts\nimport { AsyncProvider } from \"@asanrom/async-tools\";\n\n// Create a provider\nconst provider = new AsyncProvider(2000 /* Timeout in milliseconds as the constructor argument */);\n\nserver.on(\"message\", msg => {\n    // You can asynchronously provide a value.\n    // For example, when an event is received\n    provider.provideValue(msg);\n});\n\n\nserver.on(\"error\", err => {\n    // You can also asynchronously provide an error\n    provider.provideError(err);\n});\n\ntry {\n    // You can await for the value\n    // The promise will be resolved if 'provideValue' is called on time\n    // The promise will reject if the timeout is reached or 'provideError' is called\n    const value = await provider.getValue();\n\n    console.log(\"Value: \" + value);\n} catch (ex) {\n    if (AsyncProvider.isTimeoutError(ex)) { // Check if the error is a timeout error\n        // Timeout error\n        console.error(\"The value was not provided in time!\");\n    } else {\n        // Provided error\n        console.error(ex);\n    }\n}\n```\n\n## Documentation\n\n - [Library documentation (Auto-generated)](https://agustinsrg.github.io/async-tools/)\n","readmeFilename":"README.md"}