diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
