Skip to main content

Calling vramework methods using fetch

You can interact with vramework using a thin wrapper around fetch that does type validation.

Vramework Client

Creating the client

The vramework CLI can generate a vramework-fetch.ts file which would allow you to interact with your functions via http.

It has no client side dependencies, and is driven by a typescript type decalartion file so shouldn't take up any unnecessary space.

In order to do so you can run npx @vramework/cli fetch and will need to have a vramework.config.json file within the fetchFile path set.

For example:

vramework.config.json
loading...

For additional functionality or feature requests, please submit an issue on the Vramework repository.