Function parseSemicolonConfig

  • Parse a semicolon separated string into a config object

    Parameters

    • config: string

      Semicolon separated string

    • OptionalkeepCase: boolean = true

      Keep the case of the keys, default true

    Returns Record<string, string>

    Config object

    parseSemicolonConfig('a=b;c=d') // {a: 'b', c: 'd'}