1.0.2 • Published 3 years ago

steamvdf v1.0.2

Weekly downloads
2
License
gpl-3.0
Repository
github
Last release
3 years ago

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);