Skip to content

Rewrite the plugin interface #33

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions