UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

15 lines (12 loc) 297 B
import { Action } from "../../../../src/index"; export default class PluginAction extends Action { constructor() { super(); this.name = "pluginAction"; this.description = "pluginAction"; this.outputExample = {}; } async run({ response }) { response.cool = true; } };