summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-04-28 22:25:28 +0300
committerAsko Nõmm <asko@nmm.ee>2025-04-28 22:25:28 +0300
commitb08c553749f6619815c171175dd6bcf8ee6ab035 (patch)
tree50fe55703f05a0ae7e9ee1d3503baa444ae27bf4 /README.md
parent1c1f54466a00c9cd25b94bc592972e990e18265d (diff)
Refactor for only the Node runtime.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5117fd5..9ff91b8 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ app.subscribe("$.counter", (state) => {
};
});
-app.subscribe<[]>("request", (state) => {
+app.subscribe("request", (state) => {
return {
state: {
...state,
@@ -40,7 +40,9 @@ app.dispatch("request");
## Installation
-ShapeX is available via [JSR](https://jsr.io/@shapex/shapex) for Node, Deno, Bun, Cloudflare Workers and browsers.
+```shell
+npm install shapex
+```
## Documentation