{"_id":"resistance","_rev":"28-a24be12aca761aa8637d0841e43ad899","name":"resistance","description":"a flow controller","dist-tags":{"latest":"2.0.0alpha4"},"versions":{"1.0.0":{"name":"resistance","description":"a flow controller","version":"1.0.0","homepage":"https://github.com/jgallen23/resistance","authors":["Greg Allen, @jgallen23"],"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"dependencies":{},"main":"./resistance.js","keywords":["ender","flow"],"ender":"./src/ender.js","_id":"resistance@1.0.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.8","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"5f07832686eecbeeecd8954615d2dd6c4ff83082","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.0.0.tgz","integrity":"sha512-9JGNHdw4SUDnBW8Qp5qzo3J2sj36IXlU/4fnHDlZ0H529sq5C8pdUhcHVwJw/zhLLCA8EKt6IrVX97p+6IGhfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTpAghaprBYtzTOSaRpnSMY5Yq4dQOtbkucFU/ybzG+AiEAmZdc0F+zkF2vPeyoNdZWijmpiIm65Y1C8eGkOPruFSM="}]},"scripts":{}},"1.0.1":{"name":"resistance","description":"a flow controller","version":"1.0.1","homepage":"https://github.com/jgallen23/resistance","authors":["Greg Allen, @jgallen23"],"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"dependencies":{},"main":"./resistance.js","keywords":["ender","flow"],"ender":"./src/ender.js","_id":"resistance@1.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"16d4fb2e256450a13d2984814b913ead6a4f3025","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.0.1.tgz","integrity":"sha512-Gs7m8w2x5a81QYI+oC0Z8Na+YzYo/eKcIMs0c7F6old0sVVqg+4G68WckCuCY8dqYenE4MSCpQUCbonhYL54Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc7sI2mKQjP60wp/C4xKNQjhX/NnzEsjJTAj+Y85sdhwIhAPulzzttb3PtwhTTDAmmEU3jR4bO53McbSUi2f/4gKPQ"}]},"scripts":{}},"1.0.2":{"name":"resistance","description":"a flow controller","version":"1.0.2","homepage":"https://github.com/jgallen23/resistance","authors":["Greg Allen, @jgallen23"],"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"dependencies":{},"main":"./resistance.js","keywords":["ender","flow"],"ender":"./src/ender.js","_npmJsonOpts":{"file":"/Users/jga/.npm/resistance/1.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"resistance@1.0.2","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"c7ff805557f7c076e503c104c489d310eaf190d6","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.0.2.tgz","integrity":"sha512-bRVism6JUTQVV/DszIlmOAEOBGBNoCZ2Zs+C7CD2xKQ1T6U+4IwV6rhjllT/gweNHSX285MClOTZUlbu1Ahe+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXQ8sZhKf7rE5nf9775Qgqj01svCo8yx+e0EN4g4mxEwIgK3QTgzVB0cYlKNGFD1huoYJRChNMbXb5eOHGYQWYW+Y="}]},"scripts":{}},"1.1.0":{"name":"resistance","description":"a flow controller","version":"1.1.0","homepage":"https://github.com/jgallen23/resistance","authors":["Greg Allen, @jgallen23"],"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"main":"./resistance.js","keywords":["ender","flow"],"ender":"./src/ender.js","_npmJsonOpts":{"file":"/Users/jga/.npm/resistance/1.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"resistance@1.1.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.20","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"7e46109fc42c128150a20851ba3cc657ab1daeb8","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.1.0.tgz","integrity":"sha512-DiFy0Fk7VVDQg74QmZ+TbvEHiXvr3XdejYHx8f9keSMqUbj18uQGNTsygd2k5cEqLmdjnl8euU6yllVFmYP13Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdZ/PiJROE0rDOtlmPquL0e8NF9fQm83ccgsI8TzW0dAiAUYZ+LoQAsU5B1vbuFYQLLfWQA3oAH94T/kkfpkeFOTw=="}]},"scripts":{}},"1.2.0":{"name":"resistance","description":"a flow controller","version":"1.2.0","homepage":"https://github.com/jgallen23/resistance","authors":["Greg Allen, @jgallen23"],"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"main":"./dist/resistance.js","keywords":["ender","flow"],"ender":"./src/ender.js","_npmJsonOpts":{"file":"/Users/jga/.npm/resistance/1.2.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"resistance@1.2.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.20","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"cb4c7756361a57300b48c8d56748e69a30e598a2","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.2.0.tgz","integrity":"sha512-RK5iQJkiA/yEksaPrN6K9+oyUAt4eoKBKKjwSBQ1mslKdjPaRhdJwAmk2mAy9aG+5aOMP4LoK65fgGHfpoUXxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1559ftLxEcBR1sNQOdNHCSvMKbO16YMbOnbpzBXeIAwIhALmvSZtlPAkclmnESuJDDEHx7PTtV38CXC5UIgSFG9Wt"}]},"scripts":{},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"1.3.0":{"name":"resistance","description":"a flow controller","version":"1.3.0","homepage":"https://github.com/jgallen23/resistance","authors":["Greg Allen, @jgallen23"],"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"devDependencies":{"nodeunit":"*","smoosh":"*"},"keywords":["ender","flow"],"ender":"./lib/ender.js","_npmUser":{"name":"jga","email":"me@jga.me"},"_id":"resistance@1.3.0","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"9649fc60fbfbff46476f3fc73e523f8d134fc949","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.3.0.tgz","integrity":"sha512-9uUGTB6hzVzfaLHztdURKSS9GfnLt9jMiMi7UumvBfD5UH8kb7lcW9/gffMvCZL2BesoAb4p1hYI6sQ65KHHQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRx7YkLBMflvBXhPIzvmxki0Ptw7sFeqE3AafkSgqz5gIhAIIQBvxAhDZkViT7qN2jlcgKoIgWt2/gEzid6VRmSLmK"}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"1.3.1":{"name":"resistance","description":"a flow controller","version":"1.3.1","homepage":"https://github.com/jgallen23/resistance","author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"devDependencies":{"nodeunit":"*","smoosh":"*"},"main":"./dist/resistance.js","ender":"./lib/ender.js","keywords":["ender","flow"],"_npmUser":{"name":"jga","email":"me@jga.me"},"_id":"resistance@1.3.1","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"067028d21f72ff662feff8fba440307829fae39b","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.3.1.tgz","integrity":"sha512-kia1XBgSglhcOF7A+1D6SDppMlOtaVAeq54/yiAG7HZG5+8ZOxVZ2PeyE7A63KwyQcrau84UK4TPFbphKJLmgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICb2lETYeUi07qtpEPG/in/fbQsAAOD8VG5gBXTjPsDZAiEAk+pMzVSy2C7rfV655s/j2vhiL52BYVuRt7qyNQwmBcE="}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"1.3.2":{"name":"resistance","description":"a flow controller","version":"1.3.2","homepage":"https://github.com/jgallen23/resistance","author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"devDependencies":{"nodeunit":"*","smoosh":"*"},"main":"./dist/resistance.js","ender":"./lib/ender.js","keywords":["ender","flow"],"_npmUser":{"name":"jga","email":"me@jga.me"},"_id":"resistance@1.3.2","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"d06f780d5a772e8a86a1dd2a153c0eed54fcdc62","tarball":"https://registry.npmjs.org/resistance/-/resistance-1.3.2.tgz","integrity":"sha512-UDcl/YGLSy8g147rXUiThKpfbp/k1SzBXAWccZ006Di22TaXWKtdHvD3rY456u0cN9vArbQAvEJhrJG6TXCitw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFx3EH6Zfc5CojKVs5MDxstf3yrImCjCGZc0s1UUBCJ/AiEA+RpKSb1nAPTFo3to9X+y6bexuP/R3ofDpXWN2JMmg1U="}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"2.0.0alpha1":{"name":"resistance","description":"a flow controller","version":"2.0.0alpha1","homepage":"https://github.com/jgallen23/resistance","author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"repository":{"type":"git","url":"git://github.com/jgallen23/resistance.git"},"devDependencies":{"mocha":"*","chai":"*","smoosh":"*"},"main":"./dist/resistance.js","ender":"./lib/ender.js","keywords":["ender","flow"],"_npmUser":{"name":"jga","email":"me@jga.me"},"_id":"resistance@2.0.0alpha1","dependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"8c46562bd66b37659bd06f8ca63c04f713c47e8e","tarball":"https://registry.npmjs.org/resistance/-/resistance-2.0.0alpha1.tgz","integrity":"sha512-JwU0e2zoPalsIe1oA+dvpcOVa6OzU4ffBgtgHJNNcSWDUizbxNn8zT3oNVIIEde1ryvan9EJ/WJirVrpLO8Wow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPEzcdSHWo06VAIGdS2EjRTO5fFlv69Rqb5PxU7/w0eAIgHHIhHFDTFOIdrJtS6e4PGIu9AIIPBReQ72H8zWqJ7rE="}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"2.0.0alpha2":{"name":"resistance","description":"a flow controller","version":"2.0.0alpha2","homepage":"https://github.com/jgallen23/resistance","author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"repository":{"type":"git","url":"https://github.com/jgallen23/resistance.git"},"devDependencies":{"mocha":"*","chai":"*","smoosh":"*"},"main":"./dist/resistance.js","ender":"./lib/ender.js","keywords":["ender","flow"],"_id":"resistance@2.0.0alpha2","dist":{"shasum":"3d87f0bb33caa04526871d242edcb1dd2eac80f9","tarball":"https://registry.npmjs.org/resistance/-/resistance-2.0.0alpha2.tgz","integrity":"sha512-aidbkh7QY0SWLqVhMeNAqEa64BvGMvWcbiN367NKHEnisj8XEj191DyGpwrld5tqmt+reJbG2YIb9mg+EI6I3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOjWnP75Ln7sE3lSfDea/iKvcHPr0l60g2WEF9reshPwIgPnzerpiz6eZ22OuN2WKrwDYc8gktiZPRXsTh7vY8zXg="}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"2.0.0alpha3":{"name":"resistance","description":"a flow controller","version":"2.0.0alpha3","homepage":"https://github.com/jgallen23/resistance","author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"repository":{"type":"git","url":"https://github.com/jgallen23/resistance.git"},"devDependencies":{"mocha":"*","chai":"*","smoosh":"*"},"main":"./lib/resistance","keywords":["flow","async"],"_id":"resistance@2.0.0alpha3","dist":{"shasum":"440ca5b913eb1486fd4bb1f52ab1e0551ad935b8","tarball":"https://registry.npmjs.org/resistance/-/resistance-2.0.0alpha3.tgz","integrity":"sha512-ROSZekr8G0h9uMugDjQgWKJ2VoV+LPVrwEfBhowSEPH7Skv3sATYx1oV+myMtjvtDJThGInzLUR+GF2G+AJfAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOuSjyW35StrDpQBKjnzlQttO2U+NqtI9ADFfh6BF9vAiEAjs5djRhAMlzpmfVPuYcXzk8YsNDzp/CbCvIZJSgJQpQ="}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]},"2.0.0alpha4":{"name":"resistance","description":"a flow controller","version":"2.0.0alpha4","homepage":"https://github.com/jgallen23/resistance","author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"repository":{"type":"git","url":"https://github.com/jgallen23/resistance.git"},"devDependencies":{"mocha":"*","chai":"*","smoosh":"*"},"main":"./lib/resistance","keywords":["flow","async"],"_id":"resistance@2.0.0alpha4","dist":{"shasum":"8ff5202ac205ae482bdaec115fca90a5b39deb32","tarball":"https://registry.npmjs.org/resistance/-/resistance-2.0.0alpha4.tgz","integrity":"sha512-ES17SFTZ5UtttdR3vpwEaguqmbXMJPd2Df6TLYrM/jrtVm1wv63tkRLsbr5S2BaKpcCpEjr2rn7I1bXTL1E5Rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjvvtAz3gXh6sUNdoeQqEm83PlMms/0TXPkHCfqlCoCgIgQQ3kUw0PLa4OU50HbfhdC5PdmIBLAK9w5gfzVwikuWk="}]},"maintainers":[{"name":"jga","email":"me@jga.me"}]}},"maintainers":[{"email":"code@firstandthird.com","name":"jga"}],"time":{"modified":"2022-06-26T11:49:59.819Z","created":"2011-06-09T15:41:13.292Z","1.0.0":"2011-06-09T15:41:13.767Z","1.0.1":"2011-06-30T02:30:30.261Z","1.0.2":"2011-07-13T14:48:23.028Z","1.1.0":"2011-07-24T15:08:42.462Z","1.2.0":"2011-10-12T01:27:07.114Z","1.3.0":"2011-11-07T16:24:11.673Z","1.3.1":"2011-12-11T17:51:08.848Z","1.3.2":"2012-01-12T15:31:36.795Z","2.0.0alpha1":"2012-07-19T14:50:26.605Z","2.0.0alpha2":"2012-08-30T05:18:58.867Z","2.0.0alpha3":"2012-10-01T22:28:31.791Z","2.0.0alpha4":"2012-10-06T18:34:21.805Z"},"repository":{"type":"git","url":"https://github.com/jgallen23/resistance.git"},"author":{"name":"Greg Allen","email":"@jgaui","url":"http://jga.me"},"homepage":"https://github.com/jgallen23/resistance","keywords":["flow","async"],"readme":"# Resistance\n----\nResistance is a tiny (579 bytes, 347 bytes gzipped) flow control library for javascript.\n\n## Usage\n\n``` js\n\nR.series([\n  function(cb) { setTimeout(function() { console.log(\"Series 1 (500)\"); cb(1); }, 500); },\n  function(cb) { setTimeout(function() { console.log(\"Series 2 (250)\"); cb(2); }, 250); },\n  function(cb) { setTimeout(function() { console.log(\"Series 3 (100)\"); cb(3); }, 100); }\n  ], function(data) {\n    console.log(\"Series Complete\", data);\n});\n\nR.parallel([\n  function(cb) { setTimeout(function() { console.log(\"Parallel 1 (500)\"); cb(1); }, 500); },\n  function(cb) { setTimeout(function() { console.log(\"Parallel 2 (250)\"); cb(2); }, 250); },\n  function(cb) { setTimeout(function() { console.log(\"Parallel 3 (100)\"); cb(3); }, 100); }\n  ], function(data) {\n    console.log(\"Parallel Complete\", data);\n});\n\n```\n\n## Output\n\n    Parallel 3 (100)\n    Parallel 2 (250)\n    Series 1 (500)\n    Parallel 1 (500)\n    Parallel Complete [ 1, 2, 3 ]\n    Series 2 (250)\n    Series 3 (100)\n    Series Complete [ 1, 2, 3 ]\n\n## Node.js Support\n\n``` npm install resistance ```\n\n## Ender Support\n\n``` ender build resistance ```\n\n``` js\n\n$.runSeries([]);\n$.runParallel([]);\n\n```\n","readmeFilename":""}