Introduction
VCLight is a lightweight middleware framework for serverless and edge-style request handling.
What is VCLight?
VCLight lets you process requests through a middleware pipeline and then expose the app through different handlers:
httpHandler()for Node HTTPvercelHandler()for Vercel Node runtimevercelFunctionHandler()for Vercel FunctionsnetlifyHandler()for Netlify FunctionscloudflareHandler()for Cloudflare Workers
You can start from a blank app or use @vclight/router to map URL paths to handlers quickly.
TIP
Prerequisites:
The rest of the docs assume basic JavaScript and TypeScript familiarity.