0.1.0 • Published 8 years ago
ulmo-map v0.1.0
ulmo-map
Create Transform streams to perform simple mapping.
const read = require("fs").createReadStream;
const map = require("ulmo-map");
// read file.txt and apply transformation to uppercase all strings
read("file.txt", {encoding: "utf8"})
.pipe(map(a => a.toUpperCase()));
}
0.1.0
8 years ago