Hey IH,
I recently open-sourced a Node.js package that might help some of you building APIs in JavaScript. It's called QueryQL.
I wrote an introductory article that explains more about why I wrote it and the problems it solves – read it here.
Let me know if you think it might come in handy for you!