Skip to content

Commit

Permalink
Added package deets to the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
akshat1 committed May 26, 2024
1 parent ac00345 commit 38bf5a9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,22 @@ when(sum, x => console.log(x));
a(3); // Console shows 8
b(3); // Console shows 9
c(0); // Console shows 6
```
# Installation
```sh
npm install compute
```
Or if you are using yarn,
```sh
yarn add compute
```
And then in your code, simply import
```js
import { compute, onChange, from } from "compute";
```

0 comments on commit 38bf5a9

Please sign in to comment.