Package manager for coordinating the lifecycle of Atom packages.
An instance of this class is always available as the
Packages can be loaded, activated, and deactivated, and unloaded:
- Loading a package reads and parses the package's metadata and resources such as keymaps, menus, stylesheets, etc.
- Activating a package registers the loaded resources and calls
activate()on the package's main module.
- Deactivating a package unregisters the package's resources and calls
deactivate()on the package's main module.
- Unloading a package removes it completely from the package manager.
Packages can be enabled/disabled via the
settings and also by calling
Package system data
General package data
Enabling and disabling packages
Enable the package with the given name.
Returns the Package that was enabled or null if it isn't loaded.
Disable the package with the given name.
Returns the Package that was disabled or null if it isn't loaded.