From b08c553749f6619815c171175dd6bcf8ee6ab035 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Mon, 28 Apr 2025 22:25:28 +0300 Subject: Refactor for only the Node runtime. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3