0.1.0 • Published 8 years ago

ulmo-map v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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