strom/samples/split.js

7 lines
147 B
JavaScript
Raw Normal View History

2018-12-03 14:30:58 +00:00
const Mhysa = require("mhysa");
Mhysa.fromArray(["a,b", "c,d"])
.pipe(Mhysa.split(","))
.pipe(Mhysa.join("|"))
.pipe(process.stdout);