usage === const Plugin = require('nowa-gui-plugin'); const plugin = new Plugin({ name: { zh: '插件', en: 'plugin' } }); plugin.use(function* (ctx, next) { }); plugin.use(function* (ctx, next) { }); plugin.use(function* (ctx, next) { });