crequest

request+compression--drop-in wrapper for 'request'

npm install crequest
14 downloads in the last week
29 downloads in the last month

crequest

Build
Status

request with transparent compression. It also deviates slightly from request's behavior by automatically parsing application/json responses. If you need the raw response body (in whatever encoding was requested), use the body property of the callback's second argument (the response).

This is intended as a drop-in replacement for request--to use it, replace require("request") with require("crequest"). Where it's not a drop-in replacement (not everything inrequest` is proxied yet), please send a pull request.

License

Copyright (c) 2013 Seth Fitzsimmons

Published under the same license as request itself (Apache 2.0).

npm loves you