Rob--W / proxy-from-env

A Node.js library to get the proxy URL for a given URL based on standard environment variables (http_proxy, no_proxy, ...).
MIT License
52 stars 19 forks source link

Make NO_PROXY lists customizable #11

Closed Zekfad closed 3 years ago

Zekfad commented 3 years ago

Feature request

Expose NO_PROXY lists outside as options or editable prototype property.

Why?

This will allow to use custom no-proxy lists from outside. E.g. like node-gyp use it's own no-proxy implementation.

References

https://github.com/Rob--W/proxy-from-env/blob/96d01f8fcfdccfb776735751132930bbf79c4a3a/index.js#L63

Rob--W commented 3 years ago

Closing because of https://github.com/Rob--W/proxy-from-env/pull/12#issuecomment-698283916