@maschinenlesbar.org/jobsuche-cli
    Preparing search index...

    Function splitUserinfo

    • url without its userinfo, and the Authorization: Basic value the userinfo stands for (undefined without one). The engine (and obtainKey) attach credentials per hop themselves, so a transport never sees a URL with userinfo: Node's http would turn it into a Basic header on every hop, and fetch refuses such a URL. A URL that does not parse is returned as is, for the transport to report.

      Parameters

      • url: string

      Returns { basic: string | undefined; url: string }