@instaffogmbh/parse-proxy-url-string
v1.0.0
Published
`http://auth@host:port` → `{ hostname: …, port: …, auth: … }`
Readme
@instaffogmbh/parse-proxy-url-string
http://auth@host:port → { hostname: …, port: …, auth: … }
- 📣 💼 💰 Looking for a tech job? Try our reverse recruiting service.
API
This module exports one function:
parts = parseProxyUrlString(spec)
Returns an object with the proxy details found in string spec,
or returns false if no proxy details were found
(e.g. befause spec was false-y).
License
MIT
