[29] [DFN[[CITE[Streams Standard]]]] は、 [[JavaScript]] で[[ストリーム]]を扱う共通
[[API]] を規定する[[仕様書]] ([[Web標準]]) です。

* 仕様書

[REFS[
- [30] [CITE@en[Streams Standard]] ([TIME[2015-02-19 06:18:33 +09:00]] 版) <https://streams.spec.whatwg.org/>
]REFS]

* 呼称

[70] [[規格]]の名称は [CITE[[[Streams Standard]]]]
([DFN[[CITE[Streams]]]]) です。 [SRC[>>30]]

[71] かつては [DFN[[CITE[Streams API]]]] と呼ばれていました [SRC[>>1]]
が、現在の仕様書ではこの言い方はされていません。
が、一般的な語法として 「Streams API」ということは可能で、実際よく使われています。

[72] 
[[Node.js]] 界隈では [DFN[Web Streams]] と呼ばれることがあります。
他の界隈に広く通用する呼称ではなさそうです。

[73] 
[[単数形]]で [DFN[Stream]] と呼ばれることもあります。
公式には仕様全体を [[Stream]] と呼ぶことはなく、[[複数形]]の [[Streams]] 
で統一されているようです。公式に従うべきでしょう。
[[単数形]]で [[stream]] と言うのは、 [CITE[Streams Standard]]
仕様内で規定される [[readable stream]] や [[writable stream]]
のような個々の[[オブジェクト]] (の[[クラス]]) を指すときです。

[74] 
[[English]]
[[stream]] には[[日本語]]の[[定訳]]がなく、[[日本語]]でも原綴通り
「Streams Standard」、
「stream」
と書くので良いと考えられます。
[[片仮名]]表記の方が望ましい場合は、
[[Streams]] も [[streams]] も[[単数形]]の[DFN[ストリーム]]と[[音訳]]するのが良いと考えられます。


* クラス

[FIG(short list)[
- [CODE(JS)@en[[[ReadableStream]]]]
-- [CODE[ReadableStreamDefaultReader]]
-- [CODE[ReadableStreamBYOBReader]]
- [CODE(JS)@en[[[WritableStream]]]]
]FIG]

* 歴史

[1] [CITE@en[Streams API]]
( ([TIME[2011-12-16 21:26:02 +09:00]] 版))
<http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm>

[2] [CITE[Remove remaining bits of Stream. · 7d37336 · whatwg/xhr]]
( ([TIME[2013-05-05 01:24:37 +09:00]] 版))
<https://github.com/whatwg/xhr/commit/7d37336a271d571c5ea1f067f31056fc2c4ad272>

[3] [CITE[Remove the Streams API reference as that API is not agreed upon. Have CO... · ecb48a1 · whatwg/xhr]]
( ([TIME[2013-05-05 01:25:39 +09:00]] 版))
<https://github.com/whatwg/xhr/commit/ecb48a1abb1d7249f6701c12d9134d91728a8edb>

[4] [CITE[Intent to Implement: Streams API - Google Groups]]
( ([TIME[2013-06-25 01:31:18 +09:00]] 版))
<https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/blink-dev/cCPJTZbnjCw>

[5] [CITE@en-US[Streams with Promises]]
( ([TIME[2013-10-29 15:44:42 +09:00]] 版))
<https://raw.github.com/tyoshino/stream/master/streams.html>

[6] [CITE[IRC logs: freenode / #whatwg / 20131029]]
( ([TIME[2013-10-30 20:25:08 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20131029#l-672>

[7] [CITE[whatwg/streams]]
( ([TIME[2013-10-30 11:48:20 +09:00]] 版))
<https://github.com/whatwg/streams>

[8] [CITE@en[Streams API]]
( ([TIME[2013-11-05 05:28:50 +09:00]] 版))
<http://www.w3.org/TR/2013/WD-streams-api-20131105/>

[9] [CITE[IRC logs: freenode / #whatwg / 20140124]]
( ([TIME[2014-01-26 11:20:31 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140124#l-710>

[10] [CITE[IRC logs: freenode / #whatwg / 20140207]]
( ([TIME[2014-02-10 22:38:26 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140207#l-621>

[11] [CITE@en[Streams Standard]]
( ([TIME[2014-06-20 21:15:57 +09:00]] 版))
<https://whatwg.github.io/streams/>

[12] [CITE[IRC logs: freenode / #whatwg / 20140623]]
( ([TIME[2014-06-25 16:08:27 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140623#l-278>

[13] [CITE[IRC logs: freenode / #whatwg / 20140814]]
( ([TIME[2014-08-15 03:02:15 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140814#l-432>

[14] [CITE@en[RE: ''''''[''''''streams-api'''''']'''''' Seeking status of the Streams API spec]]
( ([[Domenic Denicola]] 著, [TIME[2014-08-21 12:57:05 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0327.html>

[15] [CITE@en[Re: Status of URL Interface?]]
( ([[Arun Ranganathan]] 著, [TIME[2011-06-03 02:46:56 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/0815.html>

[16] [CITE@en[Streams Standard]]
( ([TIME[2014-10-02 23:01:22 +09:00]] 版))
<https://streams.spec.whatwg.org/branch-snapshots/move-readable-stream/>

[17] [CITE[Index of /]]
( ([TIME[2014-10-04 04:38:57 +09:00]] 版))
<https://streams.spec.whatwg.org/>

[18] [CITE@en[RE: ''''''[''''''streams-api'''''']'''''' Seeking status of the Streams API spec]]
( ([[Domenic Denicola]] 著, [TIME[2014-10-14 03:39:38 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0102.html>

[19] [CITE@en[Re: ''''''[''''''streams-api'''''']'''''' Seeking status of the Streams API spec]]
( ([[Aaron Colwell]] 著, [TIME[2014-10-15 00:04:36 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0112.html>

[20] [CITE@en[Re: ''''''[''''''streams-api'''''']'''''' Seeking status of the Streams API spec]]
( ([[Takeshi Yoshino]] 著, [TIME[2014-10-15 12:06:07 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0122.html>

[21] [CITE@en[RE: ''''''[''''''streams-api'''''']'''''' Seeking status of the Streams API spec]]
( ([[Domenic Denicola]] 著, [TIME[2014-10-16 03:49:01 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0133.html>

[22] [CITE@en[Streams API]]
( ([TIME[2014-10-22 22:02:27 +09:00]] 版))
<http://www.w3.org/TR/2014/WD-streams-api-20141023/>

[23] [CITE[IRC logs: freenode / #whatwg / 20141030]]
( ([TIME[2014-10-31 00:56:48 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20141030#l-452>

[24] [CITE[The WHATWG Blog — Streams]]
( ([TIME[2014-10-31 01:04:43 +09:00]] 版))
<https://blog.whatwg.org/streams>

[25] [CITE@en[Remove Status section · 2936d97 · whatwg/streams]]
( ([TIME[2014-11-01 03:37:36 +09:00]] 版))
<https://github.com/whatwg/streams/commit/2936d97af9922f05175fa90b2397ae41318fd428>

[26] [CITE[IRC logs: freenode / #whatwg / 20141106]]
( ([TIME[2014-11-07 11:21:47 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20141106#l-507>

[27] [CITE[IRC logs: freenode / #whatwg / 20141204]]
( ([TIME[2014-12-05 09:17:56 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20141204>

[28] [CITE@en[yutakahirano/fetch-with-streams]]
([TIME[2015-01-30 15:05:33 +09:00]] 版)
<https://github.com/yutakahirano/fetch-with-streams>

[31] [CITE[Index of /commit-snapshots]]
([TIME[2015-05-02 11:40:51 +09:00]] 版)
<https://streams.spec.whatwg.org/commit-snapshots/>

[32] [CITE@en[''''''[''''''charter'''''']'''''' What is the plan for Streams API?]]
([[Arthur Barstow]] 著, [TIME[2015-08-04 23:13:01 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015JulSep/0232.html>

[FIG(quote)[
[FIGCAPTION[
[33] [CITE@en[Streams API]]
([TIME[2015-08-19 12:39:28 +09:00]] 版)
<http://www.w3.org/TR/2014/WD-streams-api-20141023/>
]FIGCAPTION]

> WHATWG Streams API spec provides an API for representing and handling a stream of data in JavaScript. This W3C spec is intended to extend the WHATWG spec to meet requirements specific to the browser environment.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[34] [CITE[IRC logs: freenode / #whatwg / 20150819]]
([TIME[2015-08-20 12:47:09 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20150819>
]FIGCAPTION]

> 
> # '''['''05:45''']''' <MikeSmith> Domenic: annevk fwiw I also went ahead just now and added the fugly non-dismissable fixed-position warning to the https://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm and https://www.w3.org/TR/streams-api/ documents

]FIG]


[35] [CITE@en[Moving W3C Streams to Note and adding disclaimer ''''''[''''''was: ''''''[''''''charter'''''']''''''  What is the plan for Streams API?'''''']'''''']]
([[Michael'''['''tm''']''' Smith]] 著, [TIME[2015-08-19 10:50:52 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-webapps/2015JulSep/0308.html>

[36] [CITE@en[Fixing #118: add Response.prototype.body · whatwg/fetch@c51656b]]
([TIME[2015-10-07 13:43:33 +09:00]] 版)
<https://github.com/whatwg/fetch/commit/c51656bf3c35e4fd7f83c3574c041806417b0da6>

[37] [CITE@en[Fetch & Streams meeting]]
([[Anne van Kesteren]] 著, [TIME[2015-10-08 18:52:51 +09:00]] 版)
<https://lists.w3.org/Archives/Public/www-archive/2015Oct/0002.html>

[38] [CITE@en[Remove web platform tests from this repo · whatwg/streams@85260dc]]
([TIME[2016-04-27 16:15:46 +09:00]] 版)
<https://github.com/whatwg/streams/commit/85260dc2ad3cb32ef2216e6af4653435dada3e0b>

[39] [CITE@en[Redirect]]
([[sideshowbarker]]著, [TIME[2016-11-24 16:08:02 +09:00]])
<https://github.com/w3c/streams-api/commit/c11a698871897a44667cd91afe3016934dd4a3bf>

[FIG(quote)[
[FIGCAPTION[
[40] [CITE@en[Streams API]]
([TIME[2016-11-30 17:33:08 +09:00]])
<https://www.w3.org/TR/2016/NOTE-streams-api-20161129/>
]FIGCAPTION]

> Work on this document has been discontinued and it should not be referenced or used as a basis for implementation. Please refer to the Streams Living Standard for the latest available specification of this API.

]FIG]


[41] [CITE@en[Exact normative requirements for interface definitions are unclear · Issue #732 · whatwg/streams]]
([TIME[2017-04-14 15:40:21 +09:00]])
<https://github.com/whatwg/streams/issues/732>

[42] [CITE@en[1128959 - (streams) Implement the WHATWG Streams spec]]
([TIME[2017-06-24 16:20:43 +09:00]])
<https://bugzilla.mozilla.org/show_bug.cgi?id=1128959>

[43] [CITE@en[Add demos of stream-to-DOM and stream-to-HTML]]
([[ricea]]著, [TIME[2017-07-01 02:31:47 +09:00]])
<https://github.com/whatwg/streams/commit/1e13713cc8671fcd029f0a34b6b4af55962f73af>

[44] [CITE[Streams Demos]]
([TIME[2017-07-01 02:49:29 +09:00]])
<https://streams.spec.whatwg.org/demos/>

[45] [CITE[The WHATWG Blog — Progressing Streams]]
([TIME[2017-07-06 18:48:34 +09:00]])
<https://blog.whatwg.org/progressing-streams>

[46] [CITE@en[streams/reference-implementation/lib at master · whatwg/streams]]
([TIME[2017-07-06 20:30:55 +09:00]])
<https://github.com/whatwg/streams/tree/master/reference-implementation/lib>

[47] [CITE@en[Revise abstract, introduction, and model]]
([[domenic]]著, [TIME[2017-08-29 22:45:49 +09:00]])
<https://github.com/whatwg/streams/commit/fdeef47522ec54f4c9ea6203c1d3409ebb7f9e8e>

[48] [CITE@en[Make the abstract shorter · Issue #769 · whatwg/streams]]
([TIME[2017-08-30 19:15:22 +09:00]])
<https://github.com/whatwg/streams/issues/769>

[49] [CITE@en[Revise abstract, introduction, and model by domenic · Pull Request #779 · whatwg/streams]]
([TIME[2017-08-30 19:15:44 +09:00]])
<https://github.com/whatwg/streams/pull/779>

[50] [CITE@en[Update acknowledgments and editorship]]
([[domenic]]著, [TIME[2017-09-08 11:16:47 +09:00]])
<https://github.com/whatwg/streams/commit/f1ecc04aa3836e3933f2089b97992dac33c3bc34>

[51] [CITE@en[Update acknowledgments and editorship by domenic · Pull Request #792 · whatwg/streams]]
([TIME[2017-09-09 14:42:33 +09:00]])
<https://github.com/whatwg/streams/pull/792>

[52] [CITE@en[Host streams.spec.whatwg.org]]
([[foolip]]著, [TIME[2017-11-02 22:10:48 +09:00]])
<https://github.com/whatwg/misc-server/commit/2dc09e48baea4b5a23409c2599dcb31e70b3488f>

[53] [CITE@en[Improving ergonomics of events with Observable · Issue #544 · whatwg/dom]]
([TIME[2017-12-22 18:02:40 +09:00]])
<https://github.com/whatwg/dom/issues/544>

[54] [CITE@en[Meta: use new WHATWG boilerplate and license]]
([[domenic]]著, [TIME[2018-01-05 02:52:54 +09:00]])
<https://github.com/whatwg/streams/commit/1686cb820c3cc99f596eebf1195161430dbc6285>

[55] [CITE@en[Meta: use new WHATWG boilerplate and license by domenic · Pull Request #866 · whatwg/streams]]
([TIME[2018-01-07 13:45:25 +09:00]])
<https://github.com/whatwg/streams/pull/866>

[56] [CITE@en[State that we depend on Infra]]
([[domenic]]著, [TIME[2018-02-17 04:44:53 +09:00]])
<https://github.com/whatwg/streams/commit/9f1652d2923be3d8dfbca316a2dfb1c8d7b81d76>

[57] [CITE@en[A variety of clarity and documentation improvements by domenic · Pull Request #875 · whatwg/streams]]
([TIME[2018-02-23 13:12:59 +09:00]])
<https://github.com/whatwg/streams/pull/875>

[58] [CITE@en[Review Draft Publication: August 2018]]
([[annevk]]著, [TIME[2018-08-21 23:11:36 +09:00]])
<https://github.com/whatwg/streams/commit/5d9498e7526d2f50618432e7aada8582d08745c0>

[59] [CITE@en[Review Draft Publication: August 2018 by annevk · Pull Request #951 · whatwg/streams]]
([TIME[2018-09-04 16:24:32 +09:00]])
<https://github.com/whatwg/streams/pull/951>

[60] [CITE@en[Streams Standard Review Draft August 2018]]
([TIME[2018-08-22 06:03:08 +09:00]])
<https://streams.spec.whatwg.org/review-drafts/2018-08/>

[61] [CITE@en[Review Draft Publication: August 2018]]
([[annevk]]著, [TIME[2018-08-21 23:11:36 +09:00]])
<https://github.com/whatwg/streams/commit/5d9498e7526d2f50618432e7aada8582d08745c0>

[62] [CITE@en[Review Draft Publication: August 2018 by annevk · Pull Request #951 · whatwg/streams]]
([TIME[2019-03-04 16:40:01 +09:00]])
<https://github.com/whatwg/streams/pull/951>

[63] [CITE@en[Review Draft Publication: February 2019]]
([[annevk]]著, [TIME[2019-02-18 19:16:01 +09:00]])
<https://github.com/whatwg/streams/commit/9f8b9e59d33d7e85b92ab9b740e3dc79f810fb18>

[64] [CITE@en[Review Draft Publication: February 2019 by annevk · Pull Request #986 · whatwg/streams]]
([TIME[2019-06-20 20:30:57 +09:00]])
<https://github.com/whatwg/streams/pull/986>

[65] [CITE@en[Streams Standard Review Draft February 2019]]
([TIME[2019-02-19 02:07:43 +09:00]])
<https://streams.spec.whatwg.org/review-drafts/2019-02/>

[66] [CITE@en[Review Draft Publication: August 2019]]
([[annevk]]著, [TIME[2019-08-19 16:52:53 +09:00]])
<https://github.com/whatwg/streams/commit/74829d55973073bb49650adc12ce08e2341c0d6b>

[67] [CITE@en[Review Draft Publication: August 2019 by annevk · Pull Request #1009 · whatwg/streams]]
([TIME[2020-01-12 16:48:13 +09:00]])
<https://github.com/whatwg/streams/pull/1009>

[68] [CITE@en[Streams Standard Review Draft August 2019]]
([TIME[2019-08-19 17:01:04 +09:00]])
<https://streams.spec.whatwg.org/review-drafts/2019-08/>

[69] [CITE@en[Compression Streams]], [TIME[2023-03-24T11:15:22.000Z]], [TIME[2023-07-16T02:09:00.398Z]] <https://wicg.github.io/compression/>

[75] [CITE@en[Change primary editor of Streams to Mattias Buelens by MattiasBuelens · Pull Request #260 · whatwg/sg · GitHub]], [TIME[2025-09-18T03:02:24.000Z]] <https://github.com/whatwg/sg/pull/260>
