strom/samples/parse.js

6 lines
140 B
JavaScript
Raw Permalink Normal View History

2018-12-04 06:30:38 +00:00
const Mhysa = require("mhysa");
Mhysa.fromArray(['{ "a": "b" }'])
.pipe(Mhysa.parse())
.on("data", object => console.log(object));