[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706255: ITP: node-slide -- Simple chain and asyncMap flow control module for Node.js



Package: wnpp
Severity: wishlist
Owner: "Jérémy Lal" <kapouer@melix.org>

* Package name    : node-slide
  Version         : 1.1.3
  Upstream Author : Isaac Z. Schlueter <i@izs.me>
* URL             : https://github.com/isaacs/slide-flow-control
* License         : Expat
  Programming Lang: JavaScript
  Description     : Simple chain and asyncMap flow control module for Node.js

The flow control module used by npm, for chaining functions like this:
  var res = [], last = chain.last, first = chain.first
  chain([
    [fs, "readdir", "the-directory"]
  , [readFiles, "the-directory", last]
  , [sum, last]
  , [ping, "POST", "example.com", 80, "/foo", last]
  , [fs, "writeFile", "result.txt", last]
  , [rmFiles, "./the-directory", first]
  ], res, cb)
.
node-slide also provides an asyncMap function.
.
Node.js is an event-based server-side javascript engine.


Reply to: