We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ecc64 commit 838e582Copy full SHA for 838e582
lib/nodegit.js
@@ -1,3 +1,4 @@
1
+var Promise = require("nodegit-promise");
2
var promisify = require("promisify-node");
3
var descriptors = require("../generate/idefs.json");
4
var rawApi;
@@ -64,5 +65,8 @@ promisify(exports);
64
65
// Set version.
66
exports.version = require("../package").version;
67
68
+// Expose Promise implementation.
69
+exports.Promise = Promise;
70
+
71
// Initialize threads.
72
exports.Threads.init();
0 commit comments