mirror of
https://github.com/619dev/PaperPhone.git
synced 2026-07-04 23:34:26 +08:00
6 lines
125 B
JavaScript
6 lines
125 B
JavaScript
'use strict';
|
|
|
|
const emit = stream => stream.on('data', item => stream.emit(item.name, item.value));
|
|
|
|
module.exports = emit;
|