Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

argo-gzip

0.2.1 • Public • Published

Argo Gzip Package

Now you can gzip with a simple argo middleware!

Usage.

    var argo = require("argo"),
        gzip = require("argo-gzip");
 
    argo()
        .use(gzip)
        .target("http://www.endpointAPI.com/");
 
//Now all request that come in with a "Accept-Encoding:gzip" header will be zipped
//All responses that are from the backend server that are gzipped are handled now as well

Keywords

none

Install

npm i argo-gzip

DownloadsWeekly Downloads

10

Version

0.2.1

License

none

Last publish

Collaborators

  • avatar
  • avatar