One file in, JSON out
scrapers/example/v1/index.mjs
export const meta = { name, slug, version };
export const endpoints = [{ id: "home", path: "/home" }];
export const handlers = {
home: async (ctx) => ({ titles: await read(ctx) }),
};GET /example/v1/home
{
"success": true,
"source": "example",
"data": { "titles": [] }
}