igrigorik/node-spdyproxy

Allow usage from a module

Closed this issue · 4 comments

fb55 commented

It would be great if this library wouldn't require to be run using bin/spdyproxy. The most important issue is the heavy usage of colors methods inside lib/server.js. colors isn't required by the file, which leads to unexpected bugs.

Plus, the API could be properly documented.

Hmm, yeah that's a good idea. For colors, I'm assuming the actual dependency is not an issue?

fb55 commented

Not at all, but messages should be logged from bin/spdyproxy, as they are also part of the CLI. Please separate the logic :)

Is anyone working on this already?

@chemhack not that I'm aware of.