Skip to content

Commit ec7d57e

Browse files
authored
Why not stream? (#9)
- Closes #3
1 parent 5af33b8 commit ec7d57e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,10 @@ See discussion in Issue https://github.com/styfle/proposal-import-bytes/issues/5
145145

146146
### Why not Blob?
147147

148-
Blob is part of the W3C [File API](https://www.w3.org/TR/FileAPI/), not part of JavaScript so it is not a viable solution to include in a TC39 Proposal.
148+
Blob is part of the W3C [File API](https://www.w3.org/TR/FileAPI/), not part of JavaScript, so it is not a viable solution to include in a TC39 Proposal. Furthermore, Blob typically includes a MIME Type but this proposal ignores the type.
149149

150+
### Why not ReableStream?
151+
152+
ReadableStream is part of the WHATWG [Streams](https://streams.spec.whatwg.org), bot part of JavaScript, so it is not a viable solution to include in a TC39 Proposal. Furthermore, there is [no helper method](https://github.com/whatwg/streams/issues/1019) to turn a stream into a buffer so this won't solve the original motivation of writing isomorphic JavaScript.
153+
154+
See discussion in Issue https://github.com/styfle/proposal-import-buffer/issues/3

0 commit comments

Comments
 (0)