summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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