@thi.ng/transducers-fsm 2.2.26 → 2.2.28
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/CHANGELOG.md +1 -1
- package/README.md +14 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://mastodon.thi.ng/@toxi)
|
|
9
9
|
|
|
10
10
|
This project is part of the
|
|
11
|
-
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
11
|
+
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and anti-framework.
|
|
12
12
|
|
|
13
13
|
**Update 12/2022: This package is considered completed and no longer being
|
|
14
14
|
updated with new features.**
|
|
@@ -18,6 +18,7 @@ updated with new features.**
|
|
|
18
18
|
- [Related packages](#related-packages)
|
|
19
19
|
- [Installation](#installation)
|
|
20
20
|
- [Dependencies](#dependencies)
|
|
21
|
+
- [Usage examples](#usage-examples)
|
|
21
22
|
- [Usage examples](#usage-examples)
|
|
22
23
|
- [3-state FSM](#3-state-fsm)
|
|
23
24
|
- [API](#api)
|
|
@@ -79,6 +80,18 @@ Package sizes (brotli'd, pre-treeshake): ESM: 213 bytes
|
|
|
79
80
|
|
|
80
81
|
## Usage examples
|
|
81
82
|
|
|
83
|
+
Several demos in this repo's
|
|
84
|
+
[/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
|
|
85
|
+
directory are using this package.
|
|
86
|
+
|
|
87
|
+
A selection:
|
|
88
|
+
|
|
89
|
+
| Screenshot | Description | Live demo | Source |
|
|
90
|
+
|:--------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------|
|
|
91
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-key-sequences.jpg" width="240"/> | rstream & transducer-based FSM for converting key event sequences into high-level commands | [Demo](https://demo.thi.ng/umbrella/rdom-key-sequences/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-key-sequences) |
|
|
92
|
+
|
|
93
|
+
## Usage examples
|
|
94
|
+
|
|
82
95
|
For a real world example, the
|
|
83
96
|
[@thi.ng/sax](https://github.com/thi-ng/umbrella/tree/develop/packages/sax)
|
|
84
97
|
package provides a SAX-like XML parser transducer, built around the FSM
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/transducers-fsm",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.28",
|
|
4
4
|
"description": "Transducer-based Finite State Machine transformer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.9.
|
|
38
|
-
"@thi.ng/transducers": "^8.
|
|
37
|
+
"@thi.ng/api": "^8.9.4",
|
|
38
|
+
"@thi.ng/transducers": "^8.6.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@microsoft/api-extractor": "^7.36.4",
|
|
42
|
-
"@thi.ng/testament": "^0.3.
|
|
42
|
+
"@thi.ng/testament": "^0.3.22",
|
|
43
43
|
"rimraf": "^5.0.1",
|
|
44
44
|
"tools": "^0.0.1",
|
|
45
45
|
"typedoc": "^0.24.8",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"status": "completed",
|
|
75
75
|
"year": 2018
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "04f545c7be1811ed24be1a6824d867b1ea9bded1\n"
|
|
78
78
|
}
|