Skip to content
serious plugin management for your app
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
lib
.gitignore
package.json
readme.md

readme.md

Pluggable

Options

fetch(pluginPath) - custom way to resolve where plugins should be, this will not include resolution of directories:plugins

Config

directories:plugins - location to search for when finding plugins, defaults to cwd plugins - list of plugins in various formats mapping a name to optional options for broadway's attach

Example

Usage

app.use(require('pluggable'))

Config

{
  "directories": {
    "plugins": "#ROOT/plugins"
  },
  "plugins": {
    "communications-whitelist": {
      "addresses": ["127.0.0.1"]
    }
  }
}
Something went wrong with that request. Please try again.