UNPKG
node-red-contrib-superpower-smart-test
Version:
latest (1.3.93)
1.3.93
1.3.92
1.3.91
1.3.90
1.3.89
1.3.88
1.3.87
1.3.86
1.3.85
1.3.84
1.3.83
1.3.82
1.3.81
1.3.80
1.3.79
1.3.78
1.3.77
1.3.76
1.3.75
1.3.74
1.3.73
1.3.72
1.3.71
1.3.70
1.3.69
1.3.68
1.3.67
1.3.66
1.3.65
1.3.64
1.3.63
1.3.62
1.3.61
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.99
1.2.98
1.2.97
1.2.96
1.2.95
1.2.94
1.2.93
1.2.92
1.2.91
1.2.89
1.2.88
1.2.87
1.2.86
1.2.85
1.2.84
1.2.83
1.2.82
1.2.81
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
Node-RED integration with eWeLink Cube
node-red-contrib-superpower-smart-test
/
src
/
utils
/
event.js
17 lines
(13 loc)
•
270 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const
{
EventEmitter
} =
require
(
'node:events'
);
/** * Event bridge between nodes. */
class
EventBridge
extends
EventEmitter
{
constructor
(
) {
super
(); } }
const
eventBridge =
new
EventBridge
();
module
.
exports
= { eventBridge };