Skip to main content

Guide

ModuleManager handles the configuration, initialization, and lifecycle management of modular applications.

This section provides conceptual guides to understanding and using the ModuleManager library effectively.

Overview​

Examples​

Complete working examples are available in the examples/ directory of the package:

  • hello-world.js - As simple as it gets: one module, one configurable property, one lifecycle handler
  • hello-world-advanced.js - Hello World, but with the functionality exploded into multiple modules
  • hello-world-complicated.js - Same thing, except without using automatic module resolution
  • lifecycle.js - Exploring the lifecycle of modules and their dependencies
  • secret.js - Using modules to implement commands
  • zws.js - Using modules to implement a command hierarchy
  • turtle.js - Leveraging deeper schema features with modules