@mort/mason
v0.2.0
Published
MASON parser
Downloads
8
Readme
mason-js: MASON implementation for JavaScript
This is a JavaScript implementation of MASON, a JSON-like object notation.
Usage
Install the @mort/mason NPM package:
npm install --save @mort/masonImport the library with:
import * as mason from "@mort/mason";Then parse a string with:
mason.parse("some mason string");The mason.parse function works similar to JSON.parse,
except that it accepts MASON syntax.
Running tests
To run tests, run make check.
This will download the MASON test suite and run it against this implementation.
