node-modules / agentkeepalive

Support keepalive http agent.
MIT License
579 stars 57 forks source link

Add browser shim (noop) for isomorphic use. #39

Closed DylanPiercey closed 8 years ago

DylanPiercey commented 8 years ago

This allows for the module to be consumed isomorphically. For example with "isomorphic-fetch" / "node-fetch".

The browser doesn't use http.Agent and this change just makes it so that bundlers like browserify/webpack/rollup will export this module as a noop.

mention-bot commented 8 years ago

By analyzing the blame information on this pull request, we identified @fengmk2 to be a potential reviewer

fengmk2 commented 8 years ago

+1

fengmk2 commented 8 years ago

2.2.0