Optional adminEnable the built-in admin panel routes (/admp*). Defaults to false.
Optional authEnable the built-in /auth/* routes. Defaults to false.
Optional controllersController classes referenced by string routes.
Optional ctxWorker execution context (set per request).
Optional debugEnable verbose logging and pretty-printed JSON responses.
Optional emailTransactional email configuration.
Optional envWorker environment bindings (set per request).
Optional exportsThe Worker's exports object; Apiker attaches handlers and DO classes to it.
Optional firewallEnable the request firewall; true for defaults or an object to configure it.
Optional nameApplication name. Defaults to "Apiker".
Optional objectPer-object rule for deriving the Durable Object instance id.
Optional objectDurable Object schema version tag.
Optional objectsDurable Object class names to generate and export.
Optional requestCurrent request context (set per request).
Optional routesRoute pattern → handler function or "Controller.method" string.
Optional scheduledHandler invoked on scheduled (cron) events.
Handler invoked on scheduled (cron) events.
Generated using TypeDoc
Options accepted by
apiker.init().