state-jet 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -19,9 +19,24 @@ Tutorials: https://statejet.netlify.app/docs/category/tutorial
|
|
|
19
19
|
API Reference: https://statejet.netlify.app/docs/category/api-reference
|
|
20
20
|
|
|
21
21
|
## 🛠 Installation
|
|
22
|
+
The Statejet package lives in npm. Please see the [installation guide](https://statejet.netlify.app/docs/getting-started/installation-and-setup/).
|
|
23
|
+
|
|
24
|
+
To install the latest stable version, run the following command:
|
|
25
|
+
|
|
22
26
|
```bash
|
|
23
27
|
npm install state-jet
|
|
24
28
|
```
|
|
29
|
+
Or if you're using `yarn`:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn add state-jet
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Or if you're using `cdn`:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/state-jet@latest/dist/index.cjs"></script>
|
|
39
|
+
```
|
|
25
40
|
|
|
26
41
|
## Example Usage
|
|
27
42
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "state-jet",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Ultra-lightweight global state management for React",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.mjs",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
"repository": {
|
|
18
21
|
"type": "git",
|