Node.js module for building queries of sql