node-repipe
reconnect/remake streams that are piped to a single output stream
Any time you would like to make a best effort to retrieve a whole stream over a connection that may be interupted this is invaluable.
This is how i use it so i can restart my db server any time.
var repipe = ;// make database connection and ensure it reconnects automaticallyvar multilevel ... var s = ;