sindresorhus / get-stream

Get a stream as a string, Buffer, ArrayBuffer or array
MIT License
341 stars 33 forks source link

Support object-mode #7

Closed sindresorhus closed 8 years ago

sindresorhus commented 8 years ago

From https://github.com/sindresorhus/neat-csv/pull/1

Couldn't use get-stream here since we need to return an array.

I'm thinking it might be useful to support object-mode here. Maybe getStream.obj() that returns an array of objects?

// @kevva @SamVerschueren