Skip to content
On this page

onAfterInit

The initialization function is triggered after the Axe API created routes.

ts
import { Express } from "express";

const onAfterInit = async (app: Express) => {
  // Do anything with the Express instance
};

export { onAfterInit };

Released under the MIT License.