cbartondock / node-binary-vdf

Fork of node-binary-vdf updated to support new format of steam's appinfo.vdf as of Dec. 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

appinfo.vdf Parser for Node.js

Parses Steam's appinfo.vdf file for your pleasure. Either use dump.js to dump stdin as a formatted JSON string or use the readAppInfo function from index.js to read it programmatically. It takes a Readable (which it will read into a Buffer) and produces a Promise which should resolve to a nice list of app entries along with their respective key-values.

This is a "fork" of the node package, in quotes because the original repository apparently no longer exists or has been made private.

This version has been updated to support Steam's new format (as of December 2022) for appinfo.vdf. It still supports the old format as well, thanks to the "magic header" determining whether the file is in the new format or the old format. For more details on the format of appinfo.vdf see here.

Obviously credit to bheart for creating the node module in the first place.

About

Fork of node-binary-vdf updated to support new format of steam's appinfo.vdf as of Dec. 2022

License:MIT License


Languages

Language:JavaScript 100.0%