@thi.ng/transducers-fsm 2.2.162 → 2.2.164
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 +17 -16
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/transducers-fsm)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
**Update 12/2022: This package is considered completed and no longer being
|
|
18
19
|
updated with new features.**
|
|
@@ -32,7 +33,7 @@ updated with new features.**
|
|
|
32
33
|
|
|
33
34
|
## About
|
|
34
35
|
|
|
35
|
-
Transducer-based Finite State Machine transformer. This is a support package for [@thi.ng/transducers](https://
|
|
36
|
+
Transducer-based Finite State Machine transformer. This is a support package for [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers).
|
|
36
37
|
|
|
37
38
|
This package provides a single function, a general purpose [Finite State
|
|
38
39
|
Machine](https://en.wikipedia.org/wiki/Finite-state_machine) transducer,
|
|
@@ -44,15 +45,15 @@ transformation pipeline.
|
|
|
44
45
|
|
|
45
46
|
**COMPLETED** - no further development planned
|
|
46
47
|
|
|
47
|
-
[Search or submit any issues for this package](https://
|
|
48
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Btransducers-fsm%5D)
|
|
48
49
|
|
|
49
50
|
This package might be merged with (or deprecated by) the newer
|
|
50
|
-
[@thi.ng/parse](https://
|
|
51
|
+
[@thi.ng/parse](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/parse)
|
|
51
52
|
package.
|
|
52
53
|
|
|
53
54
|
## Related packages
|
|
54
55
|
|
|
55
|
-
- [@thi.ng/sax](https://
|
|
56
|
+
- [@thi.ng/sax](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/sax) - Transducer-based, SAX-like, non-validating, speedy & tiny XML parser
|
|
56
57
|
|
|
57
58
|
## Installation
|
|
58
59
|
|
|
@@ -84,25 +85,25 @@ Package sizes (brotli'd, pre-treeshake): ESM: 213 bytes
|
|
|
84
85
|
|
|
85
86
|
## Dependencies
|
|
86
87
|
|
|
87
|
-
- [@thi.ng/api](https://
|
|
88
|
-
- [@thi.ng/transducers](https://
|
|
88
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
89
|
+
- [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
89
90
|
|
|
90
91
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
91
92
|
|
|
92
93
|
## Usage examples
|
|
93
94
|
|
|
94
95
|
One project in this repo's
|
|
95
|
-
[/examples](https://
|
|
96
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
96
97
|
directory is using this package:
|
|
97
98
|
|
|
98
|
-
| Screenshot | Description | Live demo | Source
|
|
99
|
-
|
|
100
|
-
| <img src="https://
|
|
99
|
+
| Screenshot | Description | Live demo | Source |
|
|
100
|
+
|:--------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------|
|
|
101
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/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://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/rdom-key-sequences) |
|
|
101
102
|
|
|
102
103
|
## Usage examples
|
|
103
104
|
|
|
104
105
|
For a real world example, the
|
|
105
|
-
[@thi.ng/sax](https://
|
|
106
|
+
[@thi.ng/sax](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/sax)
|
|
106
107
|
package provides a SAX-like XML parser transducer, built around the FSM
|
|
107
108
|
provided here.
|
|
108
109
|
|
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.164",
|
|
4
4
|
"description": "Transducer-based Finite State Machine transformer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/transducers-fsm"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/transducers-fsm",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/transducers": "^9.6.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/transducers": "^9.6.31"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"esbuild": "^0.27.2",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"status": "completed",
|
|
78
78
|
"year": 2018
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
81
81
|
}
|