min-stream adapter for node