Function decode

  • Asynchronously decodes a blueprint string. Supports the "DSA:" prefix (case-insensitive).

    Parameters

    • input: string

      The blueprint string.

    • Optionaloptions: DecoderOptions

      Decoding options.

    Returns Promise<Blueprint>

    import { decode } from "dsabp-js"

    const bp = await decode(str)