Skip to content

Stream transformer to prepend prefix and append suffix to Node.js stream

License

Notifications You must be signed in to change notification settings

takumi-n/prefix-stream-suffix

Repository files navigation

prefix-stream-suffix

npm ci node-current

Stream transformer to prepend prefix and append suffix to Node.js stream

import { prefixStreamSuffix } from 'prefix-stream-suffix';

Readable.from('content').pipe(prefixStreamSuffix('prefix', 'suffix')); // === prefixcontentsuffix

Install

npm install --save prefix-stream-suffix

About

Stream transformer to prepend prefix and append suffix to Node.js stream

Resources

License

Stars

Watchers

Forks

Packages

No packages published