var GremlinClient = require('./src/gremlinclient');


module.exports.createClient = function(port, host, options) {
  if (typeof port === 'object') {
    options = port;
    port = undefined;
  }

  if (typeof host === 'object') {
    options = host;
    host = undefined;
  }

  return new GremlinClient(port, host, options);
};
