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
- Host: GitHub
- URL: https://github.com/cbartondock/node-binary-vdf
- Owner: cbartondock
- License: mit
- Created: 2023-03-17T16:54:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T04:36:40.000Z (about 2 years ago)
- Last Synced: 2025-03-28T11:35:51.381Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `appinfo.vdf` parser for Node.js
[](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);
```