• Parses a list of split parameters and checks their validity.

    Throws

    BadRequestHttpError Thrown on invalid parameter syntax.

    Returns

    An array of name/value objects corresponding to the parameters.

    Parameters

    • parameters: string[]

      A list of split parameters (token [ "=" ( token / quoted-string ) ])

    • replacements: Record<string, string>

      The double quoted strings that need to be replaced.

    Returns { name: string; value: string }[]