vdf-reader
v1.0.1
Published
A VDF (KeyValues) parser.
Downloads
3
Readme
VDF-Reader
Introduction
VDF-Reader is a simple fork of node-vdf with a couple of modifications.
- VDF-Reader only offers a parser, no stringifier.
- VDF-Reader supports files with duplicate keys (like CS:GO's
items_game.txt
).
Usage
const vdf = require('vdf-reader');
let string = fs.readFileSync('items_game.txt', 'utf8');
let parsed = vdf.parse(string);
License
VDF-Reader is licensed under the MIT license.