As you can see, there is a path key and it's value escapes the \ character. Your library parses them as
C:\\Program Files (x86)\\Steam - the backslash incorrectly appears twice
If I then do
const result = VDF.parse(/* ... */);
console.log(JSON.stringify(result.libraryfolders.0.path));
The following is snippet is from
C:\Program Files (x86)\Steam\steamapps\libraryfolders.vdf
:As you can see, there is a
path
key and it's value escapes the\
character. Your library parses them asC:\\Program Files (x86)\\Steam
- the backslash incorrectly appears twice If I then do"C:\\\\Program Files (x86)\\\\Steam"
gets logged