npm.io
1.0.1 • Published 9 years ago

vdf-reader

Licence
MIT
Version
1.0.1
Deps
1
Vulns
0
Weekly
0
Stars
1

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.

Keywords