edge_runtime 0.0.1+3 edge_runtime: ^0.0.1+3 copied to clipboard
Runtime APIs for running Dart on Edge function environments.
Dart Edge Runtime #
This package provides a Dart runtime for the Edge framework. It can either be used as a standalone
package or part of a platform runtime, such as vercel_edge
.
Usage #
A simple usage example:
import 'package:edge_runtime/edge_runtime.dart';
void main() {
addFetchEventListener((event) {
event.respondWith(Response.ok('Hello, world!'));
});
}