Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

axios-https-proxy

0.1.1 • Public • Published

axios-https-proxy

Build Status Coverage Status dependencies Status devDependencies Status JavaScript Style Guide Greenkeeper badge

HTTPS proxy support interceptor of axios.

Install

$ npm install --save axios-https-proxy

Usage

const axios = require('axios')
const axiosHttpsProxy = require('axios-https-proxy')
axios.interceptors.request.use(axiosHttpsProxy)

Caveats

  • Isomorphic use is supported since browser field is set in package.json.
  • Only HTTPS request through HTTP proxy (by CONNECT) is supported. HTTPS proxy is still not, because HTTP request cannot use follow-redirect#https with maxRedirect option in axios http adapter :(

License

MIT

install

npm i axios-https-proxy

Downloadsweekly downloads

6

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability