• Parses a list of split parameters and checks their validity. Parameters with invalid syntax are ignored and not returned.

    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.

    • strict: boolean = false

      Determines if invalid values throw errors (true) or log warnings (false). Defaults to false.

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

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