Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 600 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 600 Bytes

Boilerplate Marvin Plugin

A boirleplate to create a plugin for Marvin.

Create a plugin is very much simple. It is necessary understand how the syntax works.

Example of plugin:

module.exports = function (opts, params1, params2) {
  //... make something with the params & options
}

The plugin can return a Object/Promise.

Recommendation for name of package

Marvin searching the plugins with prefix marvin-plugin-.

Example:

marvin-plugin-<name>