Skip to content

Instantly share code, notes, and snippets.

Created July 28, 2020 08:02
What would you like to do?
Simple Bridge App for ProtoPie Connect
const io = require('');
function main(address, message) {
const socket = io(address);
socket.on('connect', () => {
socket.emit('ppMessage', { messageId: message });
main('http://localhost:9981', process.argv[2]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment