document API
nichoth opened this issue · comments
Should add docs to the readme about how to use this
const { system } = require('@socketsupply/ssc-node')
system.receive = async (command, value) => {
}
I think that we need a better API like socket.onMessage(async (command, value) => {})
Also since we made some renaming recently, I think that socket-node
would be a better name. WDYT?
👍 That name is good.