1.1.0 • Published 10 months ago

simple-vdf3 v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

simple-vdf3


A Simple library for Text-based VDF (Valve Data Format) (de)serialization.

Based on Tom Shaver's simple-vdf2, which in turn is based on Rossen Georgiev's simple-vdf.

Installing

Requires a minimum version of Node v13.2.0

NPM:

npm install simple-vdf3

Yarn:

yarn add simple-vdf3

Example

import { parse, stringify } from 'simple-vdf3';

console.log(stringify(parse("VDF_CONTENT"), true))

Methods

parse(string)

Parse a string containing VDF and returns an object

stringify(obj) / dump(obj)

Serializes an object to a string of VDF

1.1.0

10 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago