pad-stream alternatives and similar modules
Based on the "Streams" category.
Alternatively, view pad-stream alternatives based on common mentions on social networks and blogs.
-
concat-stream
writable stream that concatenates strings or data and calls a callback with the result -
scramjet
Public tracker for Scramjet Cloud Platform, a platform that bring data from many environments together. -
duplexify
Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input -
into-stream
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream -
binary-split
a fast newline (or any delimiter) splitter stream - like require('split') but specific for binary data -
through2-concurrent
Simple Node.JS stream (streams2) Transform that runs the transform functions concurrently (with a set max concurrency) -
graphicsmagick-stream
DISCONTINUED. Fast conversion/scaling of images using a pool of long lived GraphicsMagick processes.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of pad-stream or a related project?
README
pad-stream
Pad each line in a stream
Install
$ npm install --save pad-stream
Usage
// pad.js
const padStream = require('pad-stream');
process.stdin.pipe(padStream(2, '>')).pipe(process.stdout);
$ echo 'foo\nbar' | node pad.js
>>foo
>>bar
API
padStream(count, [indent])
Returns a transform stream.
count
Type: number
(integer)
Number of times to repeat indent
.
indent
Type: string
Default: ' '
String to use as indent.
Related
- indent-string - Indent each line in a string
- indent-string-cli - Indent each line in some text or stdin
License
MIT © Sindre Sorhus
*Note that all licence references and agreements mentioned in the pad-stream README section above
are relevant to that project's source code only.