strom/samples/split.js
2018-12-04 01:40:46 -05:00

7 lines
147 B
JavaScript

const Mhysa = require("mhysa");
Mhysa.fromArray(["a,b", "c,d"])
.pipe(Mhysa.split(","))
.pipe(Mhysa.join("|"))
.pipe(process.stdout);