npm.io
2.0.0 • Published 4 years ago

elm-string-representation

Licence
BSD-3-Clause
Version
2.0.0
Deps
1
Size
13 kB
Vulns
0
Weekly
0
Stars
409

Elm String Representation

Parses Elm string representation for data. Part of litvis.

import { parse } from "elm-string-representation";

const data = parse('{ a = "test", b = 42 }');
console.log(JSON.stringify(data, null, 2));
{
  "a": "test",
  "b": 42
}

TODO: Add stringify.

Keywords