module ================= .. js:class:: Module(name, prefs) :extends: Emitter :mixins: Logger :mixins: Preferences A class for internal modules without any visual representation. :param String name: The name of the module. :param Object prefs: The preference to use for this module. See :js:mixin:`PreferencesMixin` for details. :throws Error: If the name is not a string .. js:attribute:: name read-only :type: String The name of the module.