vdf

A port of steamodd's vdf.py to node.js.

Usage no npm install needed!

<script type="module">
  import vdf from 'https://cdn.skypack.dev/vdf';
</script>

README

node-vdf

A port of steamodd's vdf.py to node.js.

Tests are written for use with nodeunit, and can be executed with nodeunit test.js.

Methods

parse(string)

Parses a VDF string and returns an object.

dump(obj)

Dumps an object to a VDF string.