UNPKG

reactive-superglue

Version:

Stream-based middleware for I/O integration of sources and sinks

15 lines (13 loc) 327 B
var _ = require("../") var names = ["", " ", "Jane", "Jenny", "Mery"] _(names) .map(x=>x+"\n") .to_file("/tmp/rsg_test.txt") .done(function () { _.file("/tmp/rsg_test.txt") .split() .remove_blanks() .join_lines(";\n") .stdout() .done() });