Variable defaultConst

default: VantAPI = ...

Represents the vant api itself. Using this object you can...

  • change the api's settings
  • start and stop the http server
  • generate additional api keys
  • access the automatically generated base api keys
  • listen to events

The vant api's endpoints are documented here.

You can also access the vant api's internally used components (e.g. the http server object, the express app, ...) and make custom changes. But be careful with it, otherwise the API won't work properly anymore.

Generated using TypeDoc