An open API service indexing awesome lists of open source software.

https://github.com/cbartondock/node-binary-vdf

Updated to support binary VDFs with magic bytes 27, 28, and 29
https://github.com/cbartondock/node-binary-vdf

Last synced: over 1 year ago
JSON representation

Updated to support binary VDFs with magic bytes 27, 28, and 29

Awesome Lists containing this project

README

          

# `appinfo.vdf` parser for Node.js
[![npm version](https://badge.fury.io/js/binary-vdf-2.svg)](https://badge.fury.io/js/binary-vdf-2)

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](https://github.com/SteamDatabase/SteamAppInfo).

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