summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index bbc51f8..25d4038 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ Create scalable event-driven applications with ShapeX, inspired by [re-frame](ht
This is an example application that demonstrates how to use the ShapeX library. It has a single starting point event called `request`, which returns an updated state, which changes the `counter`. When that state changes, the subscriber for the `counter` state fires.
```typescript
-import ShapeX from "shapex";
+import ShapeX from "@shapex/shapex";
type AppState = {
counter: number;
@@ -40,9 +40,7 @@ app.dispatch("request");
## Installation
-```shell
-npm i shapex
-```
+[ShapeX is available via JSR](https://jsr.io/@shapex/shapex), so check that out for the installation instructions for any given runtime.
## Documentation
@@ -51,7 +49,7 @@ npm i shapex
At the core of your application is state. You start by initiating ShapeX with some initial state, like so:
```typescript
-import ShapeX from "shapex";
+import ShapeX from "@shapex/shapex";
type AppState = {
counter: number;