diff --git a/lib/index.js b/lib/index.js index efaf1db..637cdd9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -8,6 +8,9 @@ module.exports = { Connection: require(__dirname + '/connection'), connect: pool.connect, end: pool.end, - defaults: defaults, - native: require(__dirname + '/native') + defaults: defaults } + +module.exports.__defineGetter__("native", function() { + return require('native'); +})