Resolve the path of a module like require.resolve()
but from a given path
A ponyfill for `Buffer.from`, uses native implementation if available.
[](https://www.npmjs.com/package/@smithy/util-buffer-from) [](https://www.npmjs.com/package/@smithy
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.