Hello!
I want to share with you very simple JSON-RPC server implementation for Node.js with HTTP and WebSockets support.
You can make it work with literally 3 lines of code:
import sepc from 'sepc';
const add = (a, b) => a + b;
sepc({ add }).listen(3000);
Hope you enjoy, have a nice day :)