Tedious provides API to connect and query MS SQL server. Browserify would walk over the dependency tree and generate a bundle.js with all dependencies.
Thanks Peter for the response. Ok Browserify was a stretch.
This is a package that works well with browserify : https://www.npmjs.com/package/net-browserify
It's based on a websocket proxy.