github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/component-webhooks/pepr.ts (about)

     1  import { PeprModule } from "pepr";
     2  // cfg loads your pepr configuration from package.json
     3  import cfg from "./package.json";
     4  
     5  // HelloPepr is a demo capability that is included with Pepr. Comment or delete the line below to remove it.
     6  import { Webhook } from "./capabilities/hook";
     7  
     8  /**
     9   * This is the main entrypoint for this Pepr module. It is run when the module is started.
    10   * This is where you register your Pepr configurations and capabilities.
    11   */
    12  new PeprModule(cfg, [
    13    // Your additional capabilities go here
    14    Webhook,
    15  ]);