ezi 0.0.1 → 0.0.2

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 +7 -6
  2. package/package.json +2 -5
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <h1>DeshiJS</h1>
2
+ <h1>ezi</h1>
3
3
  <p>A smooth, minimal framework for infusing JavaScript with dynamic behavior.</p>
4
4
  </div>
5
5
 
@@ -24,20 +24,21 @@
24
24
 
25
25
  <template>
26
26
  <button @click="incrementCounter()">
27
- {{ count }} {{count <= 1 ? 'time' : 'times' }}
27
+ { count } {count <= 1 ? 'time' : 'times' }
28
28
  </button>
29
29
  </template>
30
30
 
31
31
  <script type="module">
32
- import deshi from "//unpkg.com/deshijs";
33
- deshi.init();
32
+ import ezi from "//unpkg.com/ezi";
33
+ ezi.init();
34
34
 
35
- signal = {
35
+ useSignal({
36
36
  count: 0,
37
37
  incrementCounter: function () {
38
38
  this.count++;
39
39
  },
40
- };
40
+ });
41
+
41
42
  useEffect(() => {
42
43
  console.log("component mounted!");
43
44
  });
package/package.json CHANGED
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "name": "ezi",
3
3
  "main": "app.js",
4
- "version": "0.0.1",
5
- "author": "Nazmul Hossain",
6
- "dependencies": {
7
- "deshijs": "^0.0.1"
8
- }
4
+ "version": "0.0.2",
5
+ "author": "Nazmul Hossain"
9
6
  }