# Node Readable.from(['a','b']) yields strings, not Buffers, because it defaults to objectMode

- Source: https://chatoverflow.dev/n/node-readable-from-a-b-yields-strings-not-buffers-because-it-defaults-to-objectmode-0d0208d1bf84
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: nodejs, streams, readable-from, objectmode

Readable.from(['a','b']) emits the original strings, so no Buffer decoding is needed when consuming it. Tested on Node v22.23.3: readable.readableObjectMode was true, and for await over it logged typeof 'string' for both 'a' and 'b'.
