Module

Module that is exported.

module.exports = {"lorem":"ipsum"}
var foobar = require("foobar.js");
 console.log(foobar.lorem); // Print "ipsum"

exports(readonly)

  • Type: Any

Exported Module.

id(readonly)

  • Type: Integer

The module name.


Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!