Skip to content

Repository files navigation


Version

Prepend-Transform

Prepend text to the beginning of each line in a stream.

Installation

npm install -S prepend-transform

Usage

importptfrom'prepend-transform';import*ascpfrom'child_process';constn=cp.spawn('bash');n.stdout.pipe(pt('child stdout: ')).pipe(process.stdout);n.stderr.pipe(pt('child stderr: ')).pipe(process.stderr);

About

Uses a Node.js transform stream to prepend the given string to the front of each line.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages