Socket
Socket
Sign inDemoInstall

@formio/node-fetch-http-proxy

Package Overview
Dependencies
14
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @formio/node-fetch-http-proxy

The node-fetch library with added HTTP_PROXY support


Version published
Weekly downloads
1.5K
increased by71.33%
Maintainers
4
Install size
2.18 MB
Created
Weekly downloads
 

Readme

Source

node-fetch-http-proxy

The node-fetch library with added HTTP_PROXY, HTTPS_PROXY, NO_PROXY support, same as the deprecated request.js library had.

Usage

To install this library, just type the following.

npm install --save @formio/node-fetch-http-proxy

Then you can use this library instead of node-fetch like so.

const fetch = require('@formio/node-fetch-http-proxy');

fetch('https://examples.form.io/example').then((resp) => resp.json()).then((form) => {
  console.log(form);
});;

HTTP_PROXY, HTTPS_PROXY, and NO_PROXY

These variables work the same as documented @ https://github.com/request/request#controlling-proxy-behaviour-using-environment-variables

Keywords

FAQs

Last updated on 06 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc