vdf-parser icon indicating copy to clipboard operation
vdf-parser copied to clipboard

Case sensitivity

Open mastercoms opened this issue 1 year ago • 1 comments

Hi, wonderful library! I've noticed that for the reference VDF implementation, keys are case-insensitive. However, keys in this library are case-sensitive. Could a parse option be added to make options case insensitive? Perhaps by just adding toLowerCase for all keys. This would suffice for my usage, at least.

mastercoms avatar Jun 08 '24 10:06 mastercoms

I agree this would be helpful. For reference, you can see that valve utilizes a tolower function

joekiller avatar Jul 24 '24 04:07 joekiller