supabase_functions 0.0.2+4 copy "supabase_functions: ^0.0.2+4" to clipboard
supabase_functions: ^0.0.2+4 copied to clipboard

Write and deploy Dart functions to Supabase Functions.

example/lib/main.dart

import 'dart:async';

import 'package:supabase_functions/supabase_functions.dart';

void main() {
  SupabaseFunctions(fetch: (request) async {
    print(Deno.cwd());

    final s = Deno.readDir(Deno.cwd());
    final c = Completer();
    s.listen((event) {
      print(event.name);
    });

    await c.future;

    return Response('Hello Supabase from Dart :D');
  });
}
7
likes
120
points
4
downloads

Publisher

verified publisherinvertase.io

Weekly Downloads

Write and deploy Dart functions to Supabase Functions.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

deno_deploy, edge, edge_runtime, js, js_bindings

More

Packages that depend on supabase_functions