flatiron/broadway — pull request #5 by mrdecav (2011-12-04 05:22:19+00:00)
Title: When plugins are missing a name, some plugins simply don't load

... leading to confusion, example:

app.use(require('./unnamed-plugin1'));
app.use(require('./unnamed-plugin2'));
app.init();
// Only unnamed-plugin2 will load in this case.

I opted to use the plugin itself as the identifier if missing a name, as name seems like it should be optional. Alternatively, throw an exception so the developer can fix it.