Initial commit

This commit is contained in:
2023-01-19 00:33:33 +08:00
commit 4938b58d4c
1042 changed files with 353774 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
'use strict';
module.exports = (from, to, events) => {
for (const event of events) {
from.on(event, (...args) => to.emit(event, ...args));
}
};