Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 655 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 655 Bytes

appinfo.vdf parser for Node.js

npm version

Parses Steam's binary VDF format used in appinfo.vdf into a JSON object. This version supports versions of appinfo.vdf corresponding to the magic header being 27, 28, and 29 (the current version as of July 2024). For more details on the format of appinfo.vdf see here.

Usage

import {readBinaryVDF} from "binary-vdf-2";
import * as fs from "fs";
const stream = fs.createReadStream("appinfo.vdf");
const appinfo = await readBinaryVDF(stream);