Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

crequest

mojodna341Apache 2.00.1.6

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

readme

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).