From 0b02d7c6c151c1e8ada132c5bc537ddfaf090ae5 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sun, 2 Aug 2015 03:57:13 +0900 Subject: [PATCH] expose debug as default export + Similar to tj/co/blob/master/index.js + Allow to re-export debug from another module in ES6 --- debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.js b/debug.js index 7571a860..a21c0930 100644 --- a/debug.js +++ b/debug.js @@ -6,7 +6,7 @@ * Expose `debug()` as the module. */ -exports = module.exports = debug; +exports = module.exports = debug.debug = debug; exports.coerce = coerce; exports.disable = disable; exports.enable = enable;