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

    Function redactCredentials

    • text with every occurrence of each credential (as credentialsIn returns them) that is followed by @ replaced by ***. Matching the exact strings, not a pattern, covers passwords with spaces, quotes, #, ?, / or @.

      Parameters

      • text: string
      • credentials: readonly string[]

      Returns string