-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Milestone
Description
The plugin interface is "okay" but it's to molded to much around a middleware interface that is supported by connect / express et all..
To make the core more clear we should extract some logic.
var square = require('square/plugin'); // some plugin tools
exports.configuration = {
key: value,
setting: 13131
}
exports.description = "bla bla bla"
exports.name = "bla bla bla bla"
exports.type = square.modifier; // type of plugin, modifies content, or something else.
exports.version = "1.0.0"; // plugin version
exports.init = function (configuration, fn) {
};or something simple like that