JSPM

vdf-reader

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q30414F
  • License MIT

A VDF (KeyValues) parser.

Package Exports

  • vdf-reader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vdf-reader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.