vanilla-jui 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +29 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,3 +1,32 @@
1
1
  # JUI Library
2
2
 
3
3
  A lightweight vanilla UI library for building user interfaces.
4
+
5
+ ## Installation
6
+
7
+ NPM
8
+
9
+ ```bash
10
+ npm install vanilla-jui
11
+ ```
12
+
13
+ UMD, GlobalName: `jui`
14
+
15
+ ```html
16
+ <script src="https://unpkg.com/vanilla-jui/dist/index.umd.js"></script>
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ESM
22
+
23
+ ```javascript
24
+ import { Toast, Modal } from 'vanilla-jui';
25
+ import 'vanilla-jui/style.css';
26
+ ```
27
+
28
+ UMD, GlobalName: `jui`
29
+
30
+ ```javascript
31
+ const { Toast, Modal } = jui;
32
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-jui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "A lightweight vanilla JavaScript UI plugin library.",
6
6
  "keywords": [