org.mozilla.javascript.commonjs.module (rhino 1.7.15 API)

# Package org.mozilla.javascript.commonjs.module

Provides the public API for the CommonJS Modules/1.1 implementation. Note that it is completely up to the embedder of the Rhino library to provide an implementation for ModuleProvider. However, to help you get started, the "support" package offers default implementations of module providers that are likely sufficient for most purposes, and can be further extended.

- Interface Summary
  Interface | Description
  --- | ---
  ModuleScriptProvider | Should be implemented by Rhino embeddings to allow the require() function to obtain `ModuleScript` objects.

- Class Summary
  Class | Description
  --- | ---
  ModuleScope | A top-level module scope.
  ModuleScript | Represents a compiled CommonJS module script.
  Require | Implements the require() function as defined by Common JS modules.
  RequireBuilder | A builder for `Require` instances.