0.0.1 • Published 8 years ago

ulmo-append v0.0.1

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

ulmo-append

Create Transform streams to inject values at end of input.

const read = require("fs").createReadStream;
const append = require("ulmo-append");

// read file.txt and apply transformation to inject filename
read("file.txt", {encoding: "utf8"})
    .pipe(append(["\n# end file.txt"]));
0.0.1

8 years ago