V8 Javascript API

Module Class Reference

[Module System]

Description

The module class. Class provided to all modules as the module variable on load.

Properties

Object  exports
exports object to be populated by or overwritten by the module implementation.
String  id
The module ID.

Properties

Object Module.exports

exports object to be populated by or overwritten by the module implementation.

String Module.id

The module ID.