diff --git a/.github/workflows/deno-ci.yml b/.github/workflows/deno-ci.yml
index 2aaa964..b0c018c 100644
--- a/.github/workflows/deno-ci.yml
+++ b/.github/workflows/deno-ci.yml
@@ -13,8 +13,9 @@ jobs:
strategy:
matrix:
deno-version:
- - v1.20
- - v1.25
+ - v1.35
+ - v1.40
+ - v1.45
- canary
fail-fast: false # run each branch to completion
diff --git a/.github/workflows/jsr-publish.yaml b/.github/workflows/jsr-publish.yaml
new file mode 100644
index 0000000..20b8c2c
--- /dev/null
+++ b/.github/workflows/jsr-publish.yaml
@@ -0,0 +1,19 @@
+name: Publish
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - src/jsr.json
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+
+ permissions:
+ contents: read
+ id-token: write
+
+ steps:
+ - uses: actions/checkout@v4
+ - run: npx jsr publish
diff --git a/README.md b/README.md
deleted file mode 100644
index 813c950..0000000
--- a/README.md
+++ /dev/null
@@ -1,66 +0,0 @@
-## deno port
-
-This fork contains patches to make the library usable within Deno.
-
-I turned on issues; if you try using this in Deno and have a problem, please file.
-
-Cheers
-
-# Observables with Streams
-
-A library for observables built with [WHATWG streams](https://streams.spec.whatwg.org). This library is inspired by [ReactiveX’s operators](http://reactivex.io/documentation/operators.html) and implements a subset of them using [streams](https://streams.spec.whatwg.org).
-
-```
-npm install --save observables-with-streams
-```
-
-The goal of this library is to implement observables making as much use of the platform as possible and being highly tree-shakeable.
-
-## Example
-
-```html
-
-
-
-
-0
-
-
-
-
-```
-
-## Documentation
-
-The (somewhat lacking) documentation for this library is hosted at https://observables-with-streams.surma.technology
-
-## Caveats
-
-While most browsers have [partial support of streams](https://caniuse.com/#feat=streams) in stable, this library makes heavy use of [TransformStreams](https://streams.spec.whatwg.org/#ts-model), which are currently not well supported. Until browsers catch up, I can recommend [Mattias Buelens'](https://twitter.com/MattiasBuelens) [web-streams-polyfill](https://npm.im/web-streams-polyfill).
-
-For a good primer about streams, read this [blog post](https://jakearchibald.com/2016/streams-ftw/) by [Jake Archibald](https://twitter.com/jaffathecake/) (he is aware the title hasn’t aged well).
-
----
-
-License Apache 2.0
diff --git a/README.md b/README.md
new file mode 120000
index 0000000..351df1d
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+src/README.md
\ No newline at end of file
diff --git a/src/jsr.json b/src/jsr.json
new file mode 100644
index 0000000..b2429f4
--- /dev/null
+++ b/src/jsr.json
@@ -0,0 +1,5 @@
+{
+ "name": "@cloudydeno/stream-observables",
+ "version": "1.0.0",
+ "exports": "./mod.ts"
+}
diff --git a/src/sources/from-deno-reader.ts b/src/sources/from-deno-reader.ts
deleted file mode 100644
index 422e624..0000000
--- a/src/sources/from-deno-reader.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export {
- readableStreamFromReader as fromDenoReader,
-} from "https://deno.land/std@0.170.0/streams/readable_stream_from_reader.ts";
diff --git a/src/sources/from-iterable.ts b/src/sources/from-iterable.ts
index d3412d1..d6c4732 100644
--- a/src/sources/from-iterable.ts
+++ b/src/sources/from-iterable.ts
@@ -1,3 +1 @@
-export {
- readableStreamFromIterable as fromIterable,
-} from "https://deno.land/std@0.170.0/streams/readable_stream_from_iterable.ts";
+export const fromIterable = ReadableStream.from;
diff --git a/src/sources/mod.ts b/src/sources/mod.ts
index 81e6143..c064716 100644
--- a/src/sources/mod.ts
+++ b/src/sources/mod.ts
@@ -13,7 +13,6 @@
export * from "./external.ts";
export * from "./from-async-function.ts";
-export * from "./from-deno-reader.ts";
export * from "./from-event.ts";
export * from "./from-generator.ts";
export * from "./from-iterable.ts";