ReadonlynameUnique display name for this router.
URL path prefix for all controllers mounted on this router.
Returns the current router-level state.
the router state or an empty object if not yet initialized
Initializes the router, setting up controllers and middleware.
Must be called before router().
initialization options including app state
Returns the underlying Express router.
Throws if initialize has not been called.
Serializes the router to a plain JSON-compatible object.
JSON representation of this router
Returns a JSON string representation of this router.
stringified JSON of the router
Removes this router and all of its controllers/middleware from the app.
contains the Express app instance
Public interface for a Swizzy web router.