2.0.3 • Published 9 years ago

vdfjs v2.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

VDF.js

Convert Valve's KeyValue format to JSON

Install

npm install vdfjs

Usage

In a script

var fs = require('fs');
var vdf = require('vdfjs');
var someFile = fs.readFileSync('path/to/file.txt', 'utf-8');

var data = vdf.parse(someFile); // Returns a JS object representing the input file

console.log(JSON.stringify(data)); // Prints the JSON version of someFile.

CLI

First, install it globally: npm install -g vdfjs

Then, vdfjs path_to_file --out outfile.json

Note

This repo is a work in progress. Expect updated...everything...soon.

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.1.0

9 years ago

1.0.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago