0.7.3 • Published 27 days ago

@sourcelib/kv v0.7.3

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
27 days ago

@sourcelib/kv

Typescript library to tokenize, parse, inspect, analyse, reformat and do other language integrations for source engine keyvalue files.

Installation

npm install @sourcelib/kv

Usage

import { tokenize, parse } from '@sourcelib/kv';

const tokens = tokenize(`
"KV" {
    "key" "value"
    "key2" "value2"
}`);

const kvTree = parse(tokens);
kvTree.getChildren()[0].getValues()[0].getValue(); // "value"
0.7.2

27 days ago

0.7.3

27 days ago

0.3.0

3 years ago

0.7.1

2 years ago

0.3.2

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.3.3

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago