Install and manage third-party plugins.
Install a plugin to ssb-server.
install {nodeModule} [--from path]install(nodeModule, { from: })Calls out to npm to install a package into ~/.ssb/node_modules.
- nodeModule (string): The name of the plugin to install. Uses npm's module package-name rules.
- from (string): A location to install from (directory path, url, or any location that npm accepts for its install command).
Uninstall a plugin from ssb-server.
uninstall {nodeModule}uninstall(nodeModule)Calls out to npm to uninstall a package into ~/.ssb/node_modules.
- nodeModule (string): The name of the plugin to uninstall.
Update the config to enable a plugin.
enable {nodeModule}enable(nodeModule, cb)- nodeModule (string): The name of the plugin to enable.
Update the config to disable a plugin.
disable {nodeModule}disable(nodeModule, cb)- nodeModule (string): The name of the plugin to disable.