1 line
30 KiB
Plaintext
1 line
30 KiB
Plaintext
{"_id":"run-async","_rev":"23-7b8fb03d5620c7f02994b2e597ac1da2","name":"run-async","dist-tags":{"latest":"4.0.6"},"versions":{"0.1.0":{"name":"run-async","version":"0.1.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@0.1.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"c8ad4a5e110661e402a7d21b530e009f25f8e389","tarball":"https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz","integrity":"sha512-qOX+w+IxFgpUpJfkv2oGN0+ExPs68F4sZHfaRRx4dDexAQkG83atugKVEylyT5ARees3HBbfmuvnjbrd8j9Wjw==","signatures":[{"sig":"MEYCIQDM7xaqZhmn/HOeGdU9NdPJmfWiehKS+o+yFQ3/hRIh/wIhAPisI9EZksH7ujNbG3XiZMC6OhXziseK55L1GpY4pe5N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git://github.com/SBoudrias/run-async","type":"git"},"_npmVersion":"1.4.6","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"dependencies":{"once":"^1.3.0"},"devDependencies":{"mocha":"^1.21.4"}},"1.0.0":{"name":"run-async","version":"1.0.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@1.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"5a63bec4fdc3331786f9758861a7f27000c0e9e1","tarball":"https://registry.npmjs.org/run-async/-/run-async-1.0.0.tgz","integrity":"sha512-fDMsBzDjwrnv/qjPhp4kdqCljoF/fw9fnxMRsW5b0j9+b2gKodmEFYzQDBULvqtWMB0Bi+E02RR44RiOehq1eA==","signatures":[{"sig":"MEUCIQDgaTek7CiquuBWAQGkPCbQPm+c2gKWPGQuflOdwZkhDQIgTMNv/RAPO89SyyercNiv6NJTnOywstBoG3FG3sZUghE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"5a63bec4fdc3331786f9758861a7f27000c0e9e1","gitHead":"3f7174fac180c9e90bd4ecff9956c2ceb7d731ba","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"2.14.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"0.12.7","dependencies":{"once":"^1.3.0","is-promise":"^2.1.0"},"devDependencies":{"mocha":"^1.21.4","bluebird":"^2.10.2"}},"2.0.0":{"name":"run-async","version":"2.0.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@2.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"bc9e25f25f40992375f2533aa381e355da412616","tarball":"https://registry.npmjs.org/run-async/-/run-async-2.0.0.tgz","integrity":"sha512-VxNaA2oGnBNSLRkf1wmdnNDRfQ5RTYatF9E1evv2s2LcMUBTnnenyzFg3xZQLyp1UZEHrbWg/+ueoQRjP9P7Cw==","signatures":[{"sig":"MEYCIQDUOv6FrqCvDpqP/sls5J95Rc/zjl4TCIMiPNpGizviEAIhAMMOqcFQXhyvjLGtmQqAcFTf4+KzytoipP77cd5XRZ5o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bc9e25f25f40992375f2533aa381e355da412616","gitHead":"80220998e71abb21d87367c562821d23efea2643","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"2.14.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"0.12.7","dependencies":{"once":"^1.3.0","is-promise":"^2.1.0","promise-resolver":"^1.0.0"},"devDependencies":{"mocha":"^1.21.4","bluebird":"^2.10.2"}},"2.1.0":{"name":"run-async","version":"2.1.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@2.1.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"2505300a22be63202297a9494b6f5f5c441ccd23","tarball":"https://registry.npmjs.org/run-async/-/run-async-2.1.0.tgz","integrity":"sha512-cYjCxsO3mdo4bnjj4P+BUP1V7KBFZumjHF+WNq82N61SCqz5R4LpK74qiU4MSK0x31mZCn8DFXW0KUgFngZG8w==","signatures":[{"sig":"MEUCIETUdmnWkcFFoIoM/JMryTHIU9KZqrRWG7LHaVUfVZhLAiEAm3DdTnDGL2yRAojhVphMbbvzmkuoHFcwuPsR2pST50A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"2505300a22be63202297a9494b6f5f5c441ccd23","gitHead":"766bfe282253b4c2628ead1b6e6dcf7511a5fcc7","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"3.5.3","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"5.2.0","dependencies":{"is-promise":"^2.1.0","promise-resolver":"^3.0.0"},"devDependencies":{"mocha":"^2.3.3","pinkie":"^1.0.0"}},"2.2.0":{"name":"run-async","version":"2.2.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@2.2.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/sboudrias/run-async#readme","bugs":{"url":"https://github.com/sboudrias/run-async/issues"},"dist":{"shasum":"8783abd83c7bb86f41ee0602fc82404b3bd6e8b9","tarball":"https://registry.npmjs.org/run-async/-/run-async-2.2.0.tgz","integrity":"sha512-m4z3bOp6Re2RQ9WgwyDB9p+RU1khF3MlHtfadnEbBFfS+rkOoVBYAPZgNSdoBbL9IWzBv0gpKViLnN0HWfARrA==","signatures":[{"sig":"MEYCIQCUNENenjdJ2C/RysnP0IhkZRnWCQRHmTz5gmsiHA2gmQIhAK4AGaUTZACLEsJGppCrlSAYDWsH3AX02RsbRz67lMlQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8783abd83c7bb86f41ee0602fc82404b3bd6e8b9","gitHead":"5c6dc70500fd5c0b6ab1ba93f5f1a3338bfeaa84","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/sboudrias/run-async.git","type":"git"},"_npmVersion":"3.5.3","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"5.2.0","dependencies":{"is-promise":"^2.1.0","pinkie-promise":"^2.0.0"},"devDependencies":{"mocha":"^2.3.3"},"_npmOperationalInternal":{"tmp":"tmp/run-async-2.2.0.tgz_1458198577245_0.4591540393885225","host":"packages-13-west.internal.npmjs.com"}},"2.3.0":{"name":"run-async","version":"2.3.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@2.3.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/sboudrias/run-async#readme","bugs":{"url":"https://github.com/sboudrias/run-async/issues"},"dist":{"shasum":"0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0","tarball":"https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz","integrity":"sha512-Fx+QT3fGtS0jk8OvKyKgAB2YHPsrmqBRcMeTC5AZ+lp4vzXKPPrFSY3iLdgvjA3HVBkIvJeM6J80LRjx8bQwhA==","signatures":[{"sig":"MEQCH059QtG3MTZcwA9KBFkPfrRWtYcRTihXYYvkaVloTE4CIQDVZaIdvZaNiMvXi2xO++h+WxENfTVh3B9AblabueIqaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0","engines":{"node":">=0.12.0"},"gitHead":"23767c9d7eaf6a6bb1241fc9e12776685258c50e","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/sboudrias/run-async.git","type":"git"},"_npmVersion":"3.10.8","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"7.0.0","dependencies":{"is-promise":"^2.1.0"},"devDependencies":{"mocha":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/run-async-2.3.0.tgz_1480655904296_0.6874290609266609","host":"packages-12-west.internal.npmjs.com"}},"2.4.0":{"name":"run-async","version":"2.4.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@2.4.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"e59054a5b86876cfae07f431d18cbaddc594f1e8","tarball":"https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz","fileCount":4,"integrity":"sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==","signatures":[{"sig":"MEUCIQDiObm9XJFB/hkYjTOfeEfHNhSbJ3MWjxP6SGA35Uva9QIgLkADOW2tM5O15QVOnjZcc6LvI1wq59+hM9DvKZpbxL0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVkMfCRA9TVsSAnZWagAAgcgP/j64tRGFdceaywDohPlM\n9O7tnDmW+Ri7QZ33pnDNNw/TOmwC6ScTZhSkbCVUNJehiiR4xhTCdnrWLCuc\nd4+0NreuCbEiqyGtGg3wkO9nZpKp57+OVY1OsQhqrRqsAqGlplFGOOPhya0K\nxtiMtZK3X4ocoAl7CMRNdj9YUg2+iH0USyoUwN2UvySXEkKdxyrlOY8iO9VY\nXBwS6IEs3Iq+1/sh9vStrMdwzKPCWZ3StybSMHx4D5SUe0/oYdl+h3xPzls8\nGP24kmX5Wm4htw+NUDtjjnuxIJMe+8c5lEqxdlW0Es1siJUZzb13uTmmh/OG\nAICBlIg6I+JppneP/V0GgxR64HMfGnGEwBcTJiOz7DCR5/jO6TC9HVxm1rE+\nU5qzrKXSmOnsnkzGCJcubN/Dnbe9ALDVoKO0NGSMpJjcm7jszAbimCpIHSeI\nj/MsxV6hjT4ddjcY+TSX7GLI5Ve3pRdc8uxleij9HVnf7sbG3YL9uJMGOLFB\n3lSFVx1V+6M9+wNGl4l4zOKMwMdWiTZkpqM+PvCDHGLpjv1bP7Q0ufSkjkr8\nDv/kau5hlRnIfUQEfSBYUNqI66pzmiu5l9tT0d+xKCPtTed3Cm3HDvIQpxbm\n+Mk9pbb7D86SYQPPzOR0Ji1q4ihvjz4gpu0u3lEc3N1Av/ighPY4IsY/uEPc\nnIJ4\r\n=ryfi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=0.12.0"},"gitHead":"6dc42ae3c416e4c4feb9069720f4e7c7796c4e15","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"6.13.7","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"13.8.0","dependencies":{"is-promise":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/run-async_2.4.0_1582711582706_0.5107281545660194","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"run-async","version":"2.4.1","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@2.4.1","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"8440eccf99ea3e70bd409d49aab88e10c189a455","tarball":"https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz","fileCount":4,"integrity":"sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==","signatures":[{"sig":"MEUCIAX1bfnVR4JWAVs1n1ecFQPL2feeVyxEZo7hUhvwqZbaAiEAuLHWnkn5iqWM5HL8B9p4mzvdBxeqXpcnAGAkocM3vCE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepnA5CRA9TVsSAnZWagAAWkUP/ioFe+TOHso6jPzihreo\nMoQTLB0+I4coYc642azZ1t306nHsj8m5Ts4JZiWaiTOq3HGY58yzNDINWi06\nsG1hIRL5f1D323sq6d+Ec5H/81qCDGNXFTzDKAVPLdsQCnHiTfcmYgv2C8UD\nDPR3gmTujpONC5S1iIhGXZAcEJFYNVnep6KPs/7UNMxlEP/bnMaWh2oLQg/Q\nllZFcBWh/mGnqO/6o9JshJsO2n6paFb5kuPsc36Atioqiix4QCRn9KG7rEty\n02JXaTOUAmqXeKnEsnKYwK77h2I6mkDrgNz29rDqzJmVmTxFqbGbuxU980Yb\nd4IU+4X/w6USQRjhT6IzRsfwe2EQpJ+39BZblYBlogwt7137DyOzXAAjWaVr\n6x6EeisqUViwmmw4JJn9jspI67GcQD6eE07NYydWNVKGMA5rRl0kaS7f6m6d\ntZlBUggMn3SKMZQmeTiXSK7OukwMlPKURv8G1DpBgYbtdK1ZF9s3Y4o54T+y\nQRzW6na4sKWueC90iBq6a5plYRFOhUMHkvng8YD/8bdG9GMv/ooWkWJOwjbK\n0lGZd4WvDkFGxXA+ASxQUY+rkNhm1nyX6a1UnhiOXJMcvIs3v53mbPwn5UmD\n+2kUIA04LY8OM1p6Pg7p8xp2vUrbuN+r8vwgGrO5pJoYk8plyNBivJr8WYGv\n6AAa\r\n=F96P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=0.12.0"},"gitHead":"f3e0a18abf6e9569abfcf327daa9351c95f109b1","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"6.13.4","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"12.16.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/run-async_2.4.1_1587966009268_0.1932416029427002","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"run-async","version":"3.0.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@3.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"42a432f6d76c689522058984384df28be379daad","tarball":"https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz","fileCount":4,"integrity":"sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==","signatures":[{"sig":"MEUCID4alwYhFsL+qioz7Ho2fgobAMuvSvgF/4V+IwZpPT3KAiEAwGQfDtzGdwDT5igM/9bKUba0nEwu8XPEOKAQl/duU7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7705},"main":"index.js","engines":{"node":">=0.12.0"},"gitHead":"4d2d46bb161f69ae6358089820db08b11ea60896","scripts":{"test":"mocha -R spec"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"16.17.1","_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0"},"_npmOperationalInternal":{"tmp":"tmp/run-async_3.0.0_1683489576261_0.5867186636383466","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"run-async","version":"4.0.0","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@4.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"9c5f442e83eec00e033bb8458f64b6c191791156","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.0.tgz","fileCount":4,"integrity":"sha512-BGOHEN9tlEkQLx0aKpwPVB7IZWJKkkVRDT091M7h+Ru3HaHZ2LbREAGD8Td1yMeaN5ZgfrEBHe5Cj8l2Y3x9Bw==","signatures":[{"sig":"MEQCIF+SoSodsdu+jr9jx201+hZCH/8zLHjcFncXA2RcPRl8AiAy71HzorZjYvf/0IGF7XHITtj0RQIn67t8hl2PAH1dTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7482},"main":"index.js","types":"./index.d.ts","engines":{"node":">=0.12.0"},"gitHead":"56d7d14807f2ffb3a930325822bf81f1615e1229","scripts":{"lint":"npx oxlint","test":"node --test test.js"},"_npmUser":{"name":"sboudrias","actor":{"name":"sboudrias","type":"user","email":"admin@simonboudrias.com"},"email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"oxlint":"^1.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/run-async_4.0.0_1750359434006_0.32491719162179256","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"name":"run-async","version":"4.0.1","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@4.0.1","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"2efb233b081d086c3a9212ca86a2286925a3da9f","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.1.tgz","fileCount":5,"integrity":"sha512-Z3/oOs+tyrZJM2Nka1Dn0XJKXtZ/Jk8/smOVfDkc38yc9mCbdUemqMRctDlod0nAKLpcoa6aYPJlMznXtFUwxA==","signatures":[{"sig":"MEQCIDyA7afuuqS1O/L/BbUYSFNq2yu281beOTraVD0fPMjXAiB92syYImFUvXIeC/LmsK7/lHysV0cTpymtyeqXTnxUaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7644},"main":"src/index.js","types":"./src/index.d.ts","engines":{"node":">=0.12.0"},"gitHead":"de09f239b7f4bffa2b9fc2f6894749ea656c7956","scripts":{"lint":"npx oxlint","test":"node --test test.js"},"_npmUser":{"name":"sboudrias","actor":{"name":"sboudrias","type":"user","email":"admin@simonboudrias.com"},"email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"oxlint":"^1.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/run-async_4.0.1_1750359934013_0.28958225854943676","host":"s3://npm-registry-packages-npm-production"}},"4.0.2":{"name":"run-async","version":"4.0.2","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@4.0.2","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"fb457f3c7f8d449e92c33a38b87f9cb2bcb9e531","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.2.tgz","fileCount":5,"integrity":"sha512-H1PVgiBmiPZlnJaU2GbHMAIjmAEf3G6T7wJXKf5Qx0h79+gELDKV2krHpH0DA7xUwJ2cdVjkcOyhlMiqC5qb+Q==","signatures":[{"sig":"MEYCIQDEd7GCXAE6FNn4u3qV6UIhP9G0ra5oV9yJ955CD5fqjQIhAP49wogBqwYV/AfxnulKoJkMg07U09Sa05rKNAMcsRMg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7673},"main":"src/index.js","types":"src/index.d.ts","engines":{"node":">=0.12.0"},"gitHead":"96c004cb7e8912308f31b3ed9d56a8ed8de79826","scripts":{"lint":"npx oxlint","test":"node --test test.js"},"_npmUser":{"name":"sboudrias","actor":{"name":"sboudrias","type":"user","email":"admin@simonboudrias.com"},"email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"oxlint":"^1.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/run-async_4.0.2_1750360687187_0.7333758006033446","host":"s3://npm-registry-packages-npm-production"}},"4.0.3":{"name":"run-async","version":"4.0.3","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@4.0.3","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"630f805b5854d0b11cf1117d4a51fb6d63d10e23","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.3.tgz","fileCount":5,"integrity":"sha512-ZSrKAhQiZ+cd24IKA+gNgXa3706/bRxL+dmvwNXnPgjQtalsWylooSU4eSX1fPmMTkpOjQS1tZjMXsiG8zra0A==","signatures":[{"sig":"MEUCIAh3SS9sxO+4VrBS+46b4n8MOxWnJQPGC2dmOE5vvKYfAiEAwMBy5rKmW1oqAxcSMijeQyUwVQkftcDezRh0rpanZ8E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7909},"types":"./index.d.ts","engines":{"node":">=0.12.0"},"exports":{"types":"./index.d.ts","default":"./index.js"},"gitHead":"ccead83709c9e6bf6037a1a6f4acbf538c7ab61f","scripts":{"lint":"npx oxlint && npx prettier --check .","test":"node --test test.js"},"_npmUser":{"name":"sboudrias","actor":{"name":"sboudrias","type":"user","email":"admin@simonboudrias.com"},"email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.0","dependencies":{"oxlint":"^1.2.0","prettier":"^3.5.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/run-async_4.0.3_1750362083564_0.30440514931665885","host":"s3://npm-registry-packages-npm-production"}},"4.0.4":{"name":"run-async","version":"4.0.4","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@4.0.4","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"6855326c7ba59358979f7be96d30b972484d63db","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.4.tgz","fileCount":5,"integrity":"sha512-2cgeRHnV11lSXBEhq7sN7a5UVjTKm9JTb9x8ApIT//16D7QL96AgnNeWSGoB4gIHc0iYw/Ha0Z+waBaCYZVNhg==","signatures":[{"sig":"MEUCIAWnYrOqDU2bAfgO5c1BfmWKM5s+Txp3tEejpti/hEscAiEAvSvy+LSMhUrE4s/ZRhIa1SVi6vOlA8hX8He+wSJKSS8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7922},"types":"./index.d.ts","engines":{"node":">=0.12.0"},"exports":{"types":"./index.d.ts","default":"./index.js"},"gitHead":"2393661dba9b056fa17a600e062ba580530d9aed","scripts":{"lint":"npx oxlint && npx prettier --check .","test":"node --test test.js"},"_npmUser":{"name":"sboudrias","actor":{"name":"sboudrias","type":"user","email":"admin@simonboudrias.com"},"email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.0","dependencies":{"oxlint":"^1.2.0","prettier":"^3.5.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/run-async_4.0.4_1750362669358_0.3793481282225979","host":"s3://npm-registry-packages-npm-production"}},"4.0.5":{"name":"run-async","version":"4.0.5","keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"run-async@4.0.5","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"homepage":"https://github.com/SBoudrias/run-async#readme","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"dist":{"shasum":"8856ec2986c6e20372f5edf0416f9c1140e7f56e","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.5.tgz","fileCount":5,"integrity":"sha512-oN9GTgxUNDBumHTTDmQ8dep6VIJbgj9S3dPP+9XylVLIK4xB9XTXtKWROd5pnhdXR9k0EgO1JRcNh0T+Ny2FsA==","signatures":[{"sig":"MEUCIQCXOpiQ6MnlE+dmHsX66hY0QY0Uhw9wxm8TQ8YM/GUJsQIgbUhjQFisso29ZrLpDvjEEn4U53wCnjEDvjlJSwjoyTs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7925},"types":"./index.d.ts","engines":{"node":">=0.12.0"},"exports":{"types":"./index.d.ts","default":"./index.js"},"gitHead":"3bb1d867eaf778b43f03e0203e5dcf477275b2e7","scripts":{"lint":"npx oxlint && npx prettier --check .","test":"node --test test.js"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/run-async.git","type":"git"},"_npmVersion":"8.19.2","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"oxlint":"^1.2.0","prettier":"^3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/run-async_4.0.5_1753105203907_0.5580229570282738","host":"s3://npm-registry-packages-npm-production"}},"4.0.6":{"name":"run-async","version":"4.0.6","description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","exports":{"./package.json":"./package.json",".":{"types":"./index.d.ts","default":"./index.js"}},"sideEffects":false,"scripts":{"test":"node --test test.js","lint":"npx oxlint && npx prettier --check ."},"engines":{"node":">=0.12.0"},"repository":{"type":"git","url":"git+https://github.com/SBoudrias/run-async.git"},"keywords":["flow","flow-control","async"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","devDependencies":{"oxlint":"^1.2.0","prettier":"^3.5.3"},"types":"./index.d.ts","gitHead":"0d81888399d3d47656dd4762e2aa1982a79c8df9","bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"homepage":"https://github.com/SBoudrias/run-async#readme","_id":"run-async@4.0.6","_nodeVersion":"24.4.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-IoDlSLTs3Yq593mb3ZoKWKXMNu3UpObxhgA/Xuid5p4bbfi2jdY1Hj0m1K+0/tEuQTxIGMhQDqGjKb7RuxGpAQ==","shasum":"d53b86acb71f42650fe23de2b3c1b6b6b34b9294","tarball":"https://registry.npmjs.org/run-async/-/run-async-4.0.6.tgz","fileCount":5,"unpackedSize":7986,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCUDxE0CgsC/jMTZwYgM/+vzpWQzn/4je3VP0s6CL/NAAIgSpQkNHgtcS4KWYhXhArLwSGXfXXE1Yw4kj+BLb3CKEE="}]},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"directories":{},"maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/run-async_4.0.6_1754662626580_0.5603995517035782"},"_hasShrinkwrap":false}},"time":{"created":"2014-08-11T01:11:31.399Z","modified":"2025-08-08T14:17:07.014Z","0.1.0":"2014-08-11T01:11:31.399Z","1.0.0":"2015-10-13T06:10:24.777Z","2.0.0":"2015-10-18T21:12:16.901Z","2.1.0":"2016-01-14T06:51:30.979Z","2.2.0":"2016-03-17T07:09:37.775Z","2.3.0":"2016-12-02T05:18:24.544Z","2.4.0":"2020-02-26T10:06:22.816Z","2.4.1":"2020-04-27T05:40:09.368Z","3.0.0":"2023-05-07T19:59:36.453Z","4.0.0":"2025-06-19T18:57:14.198Z","4.0.1":"2025-06-19T19:05:34.200Z","4.0.2":"2025-06-19T19:18:07.370Z","4.0.3":"2025-06-19T19:41:23.755Z","4.0.4":"2025-06-19T19:51:09.541Z","4.0.5":"2025-07-21T13:40:04.084Z","4.0.6":"2025-08-08T14:17:06.831Z"},"bugs":{"url":"https://github.com/SBoudrias/run-async/issues"},"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","homepage":"https://github.com/SBoudrias/run-async#readme","keywords":["flow","flow-control","async"],"repository":{"type":"git","url":"git+https://github.com/SBoudrias/run-async.git"},"description":"Utility method to run function either synchronously or asynchronously using the common `this.async()` style.","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"}],"readme":"# Run Async\n\n[](http://badge.fury.io/js/run-async)\n\nUtility method to run a function either synchronously or asynchronously using a series of common patterns. This is useful for library author accepting sync or async functions as parameter. `runAsync` will always run them as an async method, and normalize the multiple signature.\n\n# Installation\n\n```bash\nnpm install --save run-async\n```\n\n# Usage\n\nHere's a simple example print the function results and three options a user can provide a function.\n\n```js\nvar runAsync = require(\"run-async\");\n\nvar printAfter = function (func) {\n var cb = function (err, returnValue) {\n console.log(returnValue);\n };\n runAsync(func, cb)(/* arguments for func */);\n};\n```\n\n#### Using `this.async`\n\n```js\nprintAfter(function () {\n var done = this.async();\n\n setTimeout(function () {\n done(null, \"done running with callback\");\n }, 10);\n});\n```\n\n#### Returning a promise\n\n```js\nprintAfter(function () {\n return new Promise(function (resolve, reject) {\n resolve(\"done running with promises\");\n });\n});\n```\n\n#### Synchronous function\n\n```js\nprintAfter(function () {\n return \"done running sync function\";\n});\n```\n\n#### Custom done factory\n\n```js\nvar runAsync = require(\"run-async\");\n\nrunAsync(function () {\n var callback = this.customAsync();\n callback(null, a + b);\n}, \"customAsync\")(1, 2);\n```\n\n#### Passing context to async method\n\n```js\nvar runAsync = require(\"run-async\");\n\nrunAsync(function () {\n assert(this.isBound);\n var callback = this.async();\n callback(null, a + b);\n}).call({ isBound: true }, 1, 2);\n```\n\n### runAsync.cb\n\n`runAsync.cb` supports all the function types that `runAsync` does and additionally a traditional **callback as the last argument** signature:\n\n```js\nvar runAsync = require(\"run-async\");\n\n// IMPORTANT: The wrapped function must have a fixed number of parameters.\nrunAsync.cb(\n function (a, b, cb) {\n cb(null, a + b);\n },\n function (err, result) {\n console.log(result);\n },\n)(1, 2);\n```\n\nIf your version of node support Promises natively (node >= 0.12), `runAsync` will return a promise. Example: `runAsync(func)(arg1, arg2).then(cb)`\n\n# Licence\n\nCopyright (c) 2014 Simon Boudrias (twitter: @vaxilart) \nLicensed under the MIT license.\n","readmeFilename":"README.md","users":{"71emj1":true,"itonyyo":true}} |