Expose Client as top-level export

This commit is contained in:
Patrick Mooney 2015-10-27 21:52:43 -05:00
parent ccfd821700
commit bdbff63bc0
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ function xor() {
///--- Exports
module.exports = {
Client: Client,
createClient: function createClient(options) {
if (typeof (options) !== 'object')
throw new TypeError('options (object) required');

View File

@ -21,6 +21,7 @@ var url = require('./url');
///--- API
module.exports = {
Client: client.Client,
createClient: client.createClient,
Server: Server,