stream-replace is a lightweight Node.js library for performing efficient string replacements within streams. It allows developers to process data streams on the fly, replacing occurrences of specified strings or regular expressions with desired replacements. Designed for memory efficiency, it avoids buffering large chunks of data, crucial for handling large files or continuous data streams. This package helps modify streams of text data without extensive resources. Common use case is to replace the variables in template files.