Plugin API

Export name and apply in a file to use it as a plugin:

// my-plugin.js
exports.name = 'my-plugin'

exports.apply = (api, pluginOptions) => {
  // Do something with `api`
}

The api is basically a Saber Instance.