@trashpanda001/helpers
    Preparing search index...

    Function decode64

    • Decode a base-64 string into a binary string.

      Parameters

      • data: string

        the base-64 string to decode

      Returns string

      the decoded binary string

      import { decode64 } from "@trashpanda001/helpers/string"

      decode64("YQ")
      // "a"
      decode64("YQ==")
      // "a"