steamvdf
v1.0.2
Published
Parse binarized Valve's VDF files into JSON
Downloads
2
Readme
SteamVDF
A packages that allows you to parse binarized VDF files into readable JSONs.
Installation
NPM
npm install steamvdf
Usage
Typescript
import { Vdf } from 'steamvdf';
import { readFileSync } from "fs";
const buffer = readFileSync('path/to/appinfo.vdf');
const vdf = new Vdf(buffer);
Javascript
const steamvdf = require("steamvdf");
const fs = require("fs");
const buffer = fs.readFileSync('path/to/appinfo.vdf');
const vdf = new steamvdf.Vdf(buffer);