From 3014ce30b733d16cbf79f8e066a30db245e6c59d Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Fri, 18 Apr 2025 18:48:20 +0300 Subject: Refactor to use Deno for everything. --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'README.md') 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; -- cgit v1.2.3