6 lines
161 B
JavaScript
6 lines
161 B
JavaScript
const Mhysa = require("mhysa");
|
|
|
|
Mhysa.fromArray(["a", "b", "c"])
|
|
.pipe(Mhysa.collect({ objectMode: true }))
|
|
.on("data", object => console.log(object));
|