oh yeah, i can move this to npm.

that won't work for compressed responses, though.