diff --git a/index.js b/index.js index 881df98..0850121 100644 --- a/index.js +++ b/index.js @@ -36,3 +36,6 @@ module.exports.ObjectID = mongodb.ObjectID module.exports.ObjectId = mongodb.ObjectId module.exports.Symbol = mongodb.Symbol module.exports.Timestamp = mongodb.Timestamp + +// Add support for default ES6 module imports +module.exports.default = module.exports;