node.js redis synchronous solution

I look for the package that allows to work with redis in synchronous manner. The problem is I don't want to rewrite the code for async flow.

The possible solution is

  1. Find synchronous library to work with redis.
  2. Implement a middle layer script in some synchronous language and communicate with this script by synchronous execution operation.

I tried to use synchronize with no success so far.

You may want to give a try at co, which will let you write non-blocking code using almost any existing node library. Here is a specific example using node-redis.

Please note that co requires node 0.11.x (with --harmony flag) or 0.10.x with a wrapper like gnode.