strom/samples/parse.js
2018-12-04 01:30:38 -05:00

6 lines
140 B
JavaScript

const Mhysa = require("mhysa");
Mhysa.fromArray(['{ "a": "b" }'])
.pipe(Mhysa.parse())
.on("data", object => console.log(object));