elm-string-representation
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i elm-string-representation

Weekly Downloads

3

Version

2.0.0

License

BSD-3-Clause

Unpacked Size

12.8 kB

Total Files

12

Last publish

Collaborators

  • jwolondon
  • kachkaev
  • jsndyks
  • rhenkin