Skip to content

Commit 0b02d7c

Browse files
author
Jorge Bucaran
committed
expose debug as default export
+ Similar to tj/co/blob/master/index.js + Allow to re-export debug from another module in ES6
1 parent b384584 commit 0b02d7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Expose `debug()` as the module.
77
*/
88

9-
exports = module.exports = debug;
9+
exports = module.exports = debug.debug = debug;
1010
exports.coerce = coerce;
1111
exports.disable = disable;
1212
exports.enable = enable;

0 commit comments

Comments
 (0)