npm

steamvdf
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i steamvdf

Weekly Downloads

0

Version

1.0.2

License

gpl-3.0

Unpacked Size

63.9 kB

Total Files

18

Last publish

Collaborators

  • heyoxe