Skip to content

Rewrite the plugin interface #33

@3rd-Eden

Description

@3rd-Eden

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions