mol_wire_pub 1.0.16 → 1.0.20
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 +20 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,42 +18,42 @@ Auto wiring modules. It gives ability to:
|
|
|
18
18
|
|
|
19
19
|
### Decorators
|
|
20
20
|
|
|
21
|
-
- [$mol_wire_mem](
|
|
22
|
-
- [$mol_wire_field](
|
|
23
|
-
- [$mol_wire_method](
|
|
21
|
+
- [$mol_wire_mem](https://github.com/hyoo-ru/mam_mol/tree/master/wire/mem) - reactive memoizing property decorator
|
|
22
|
+
- [$mol_wire_field](https://github.com/hyoo-ru/mam_mol/tree/master/wire/field) - reactive memoizing field decorator
|
|
23
|
+
- [$mol_wire_method](https://github.com/hyoo-ru/mam_mol/tree/master/wire/method) - method decorator which run inside fiber
|
|
24
24
|
|
|
25
25
|
### Proxies
|
|
26
26
|
|
|
27
|
-
- [$mol_wire_sync](
|
|
28
|
-
- [$mol_wire_async](
|
|
27
|
+
- [$mol_wire_sync](https://github.com/hyoo-ru/mam_mol/tree/master/wire/sync) - converts async API to sync
|
|
28
|
+
- [$mol_wire_async](https://github.com/hyoo-ru/mam_mol/tree/master/wire/async) - converts sync API to async
|
|
29
29
|
|
|
30
30
|
### Functions
|
|
31
31
|
|
|
32
|
-
- [$mol_wire_probe](
|
|
33
|
-
- [$mol_wire_solid](
|
|
32
|
+
- [$mol_wire_probe](https://github.com/hyoo-ru/mam_mol/tree/master/wire/probe) - run code without state changes
|
|
33
|
+
- [$mol_wire_solid](https://github.com/hyoo-ru/mam_mol/tree/master/wire/solid) - make current fiber immortal
|
|
34
34
|
|
|
35
35
|
## Structures
|
|
36
36
|
|
|
37
|
-
- [$mol_wire_set](
|
|
38
|
-
- [$mol_wire_dom](
|
|
37
|
+
- [$mol_wire_set](https://github.com/hyoo-ru/mam_mol/tree/master/wire/set) - reactive Set
|
|
38
|
+
- [$mol_wire_dom](https://github.com/hyoo-ru/mam_mol/tree/master/wire/dom) - reactive DOM
|
|
39
39
|
|
|
40
40
|
## Low level API
|
|
41
41
|
|
|
42
42
|
### Pub/Sub
|
|
43
43
|
|
|
44
|
-
- [$mol_wire_pub](
|
|
45
|
-
- [$mol_wire_sub](
|
|
46
|
-
- [$mol_wire_pub_sub](
|
|
44
|
+
- [$mol_wire_pub](https://github.com/hyoo-ru/mam_mol/tree/master/wire/pub) - tiny publisher
|
|
45
|
+
- [$mol_wire_sub](https://github.com/hyoo-ru/mam_mol/tree/master/wire/sub) - generic subscriber interface
|
|
46
|
+
- [$mol_wire_pub_sub](https://github.com/hyoo-ru/mam_mol/tree/master/wire/pub/sub) - subscriber with retranslation support
|
|
47
47
|
- `$mol_wire_auto` - current tracking subscriber
|
|
48
48
|
|
|
49
49
|
### Reactivity
|
|
50
50
|
|
|
51
|
-
- [$mol_wire_fiber](
|
|
52
|
-
- [$mol_wire_cursor](
|
|
51
|
+
- [$mol_wire_fiber](https://github.com/hyoo-ru/mam_mol/tree/master/wire/fiber) - pausable task with sync API
|
|
52
|
+
- [$mol_wire_cursor](https://github.com/hyoo-ru/mam_mol/tree/master/wire/cursor) - subscription statuses
|
|
53
53
|
|
|
54
54
|
## NPM Bundles
|
|
55
55
|
|
|
56
|
-
### [mol_wire_lib](
|
|
56
|
+
### [mol_wire_lib](https://github.com/hyoo-ru/mam_mol/tree/master/wire/lib)
|
|
57
57
|
|
|
58
58
|
Lib with all production ready $mol_wire modules.
|
|
59
59
|
|
|
@@ -61,7 +61,7 @@ Lib with all production ready $mol_wire modules.
|
|
|
61
61
|
npm install mol_wire_lib
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
[](https://bundlephobia.com/package/mol_wire_lib)
|
|
64
|
+
7KB [](https://bundlephobia.com/package/mol_wire_lib)
|
|
65
65
|
|
|
66
66
|
```ts
|
|
67
67
|
import {
|
|
@@ -93,7 +93,7 @@ mem(1)( User.prototype, 'finger_exists' )
|
|
|
93
93
|
action( User.prototype, 'finger_cut' )
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
### [mol_wire_pub](
|
|
96
|
+
### [mol_wire_pub](https://github.com/hyoo-ru/mam_mol/tree/master/wire/pub)
|
|
97
97
|
|
|
98
98
|
Tiny lib to making any state observabe for other $mol_wire based libs.
|
|
99
99
|
|
|
@@ -101,7 +101,7 @@ Tiny lib to making any state observabe for other $mol_wire based libs.
|
|
|
101
101
|
npm install mol_wire_pub
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
[](https://bundlephobia.com/package/mol_wire_pub)
|
|
104
|
+
1.5KB [](https://bundlephobia.com/package/mol_wire_pub)
|
|
105
105
|
|
|
106
106
|
```ts
|
|
107
107
|
import { $mol_wire_pub as Publisher } from 'mol_wire_pub'
|
|
@@ -125,7 +125,7 @@ export function decrease() {
|
|
|
125
125
|
}
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
### [mol_wire_dom](
|
|
128
|
+
### [mol_wire_dom](https://github.com/hyoo-ru/mam_mol/tree/master/wire/dom)
|
|
129
129
|
|
|
130
130
|
Lib to make real DOM reactive.
|
|
131
131
|
|
|
@@ -133,7 +133,7 @@ Lib to make real DOM reactive.
|
|
|
133
133
|
npm install mol_wire_domm
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
[](https://bundlephobia.com/package/mol_wire_dom)
|
|
136
|
+
7.5KB [](https://bundlephobia.com/package/mol_wire_dom)
|
|
137
137
|
|
|
138
138
|
```ts
|
|
139
139
|
import { $mol_wire_dom as reactivate } from 'mol_wire_dom'
|