├── .gitignore ├── .idea ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── misc.xml ├── modules.xml ├── remote-web-streams.iml └── vcs.xml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── docs └── examples │ ├── index.html │ ├── page-array.html │ ├── page-stream.html │ ├── process.js │ ├── resources │ └── jank-meter.css │ ├── test │ ├── index.html │ └── worker.js │ ├── utils.js │ ├── worker-array.html │ ├── worker-array.js │ ├── worker-stream-transferable.html │ ├── worker-stream-transferable.js │ ├── worker-stream.html │ └── worker-stream.js ├── package.json ├── rollup.config.mjs ├── src ├── index.ts ├── protocol.ts ├── readable.ts ├── remote.ts ├── transfer.ts └── writable.ts ├── test ├── mocks │ ├── EventTarget.ts │ ├── MessageChannel.ts │ └── dom.ts ├── promise-utils.ts ├── remote.spec.ts └── tsconfig.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/remote-web-streams.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.idea/remote-web-streams.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/README.md -------------------------------------------------------------------------------- /docs/examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/index.html -------------------------------------------------------------------------------- /docs/examples/page-array.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/page-array.html -------------------------------------------------------------------------------- /docs/examples/page-stream.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/page-stream.html -------------------------------------------------------------------------------- /docs/examples/process.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/process.js -------------------------------------------------------------------------------- /docs/examples/resources/jank-meter.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/resources/jank-meter.css -------------------------------------------------------------------------------- /docs/examples/test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/test/index.html -------------------------------------------------------------------------------- /docs/examples/test/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/test/worker.js -------------------------------------------------------------------------------- /docs/examples/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/utils.js -------------------------------------------------------------------------------- /docs/examples/worker-array.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/worker-array.html -------------------------------------------------------------------------------- /docs/examples/worker-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/worker-array.js -------------------------------------------------------------------------------- /docs/examples/worker-stream-transferable.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/worker-stream-transferable.html -------------------------------------------------------------------------------- /docs/examples/worker-stream-transferable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/worker-stream-transferable.js -------------------------------------------------------------------------------- /docs/examples/worker-stream.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/worker-stream.html -------------------------------------------------------------------------------- /docs/examples/worker-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/docs/examples/worker-stream.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/protocol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/src/protocol.ts -------------------------------------------------------------------------------- /src/readable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/src/readable.ts -------------------------------------------------------------------------------- /src/remote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/src/remote.ts -------------------------------------------------------------------------------- /src/transfer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/src/transfer.ts -------------------------------------------------------------------------------- /src/writable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/src/writable.ts -------------------------------------------------------------------------------- /test/mocks/EventTarget.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/test/mocks/EventTarget.ts -------------------------------------------------------------------------------- /test/mocks/MessageChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/test/mocks/MessageChannel.ts -------------------------------------------------------------------------------- /test/mocks/dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/test/mocks/dom.ts -------------------------------------------------------------------------------- /test/promise-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/test/promise-utils.ts -------------------------------------------------------------------------------- /test/remote.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/test/remote.spec.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MattiasBuelens/remote-web-streams/HEAD/tsconfig.json --------------------------------------------------------------------------------