We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6680c7f commit 31f8fa2Copy full SHA for 31f8fa2
2 files changed
lib/constants.js
@@ -0,0 +1 @@
1
+module.exports = process.binding("constants");
src/node.cc
@@ -1484,6 +1484,7 @@ static Handle<Value> Binding(const Arguments& args) {
1484
exports->Set(String::New("assert"), String::New(native_assert));
1485
exports->Set(String::New("buffer"), String::New(native_buffer));
1486
exports->Set(String::New("child_process"),String::New(native_child_process));
1487
+ exports->Set(String::New("constants"), String::New(native_constants));
1488
exports->Set(String::New("dgram"), String::New(native_dgram));
1489
exports->Set(String::New("dns"), String::New(native_dns));
1490
exports->Set(String::New("events"), String::New(native_events));
0 commit comments