Open sindresorhus opened 10 years ago
@sindresorhus can you elaborate? It works going into a pipe()
, how can it be improved?
gulp can support streams of streams, not just streams of buffers like most tasks supports. This is good case where streaming could be supported. See https://github.com/lazd/gulp-replace/commit/42a34965ca3cb1b151594da96ebb063d1e330351 and read the plugin guidelines ;)
@sindresorhus ah, so the soften()
function should return a writable stream so you can write data to it and it'll soften it?
It should support streaming as gulp-replace does.
@JacksonGariety friendly ping :)
@sindresorhus sorry I missed this message, I'll take a look at gulp-replace.
Since this is just replacing characters it should be easy to add streaming support.