valory-adaptor-claudia
v2.2.1
Published
Claudia adaptor for valory
Downloads
13
Maintainers
Readme
valory-adaptor-claudia
Provide claudia-api-builder support for Valory
Usage
npm i valory-apaptor-claudia
Instantiate FastifyAdaptor and pass it to Valory
import {ClaudiaAdaptor} from "valory-adaptor-claudia";
import {Valory} from "valory-runtime";
const app = Valory.createInstance({
info: {title: "some api"},
server: new ClaudiaAdaptor(),
})
// make sure to export the server for claudia
export = app.start();