spacetimedb 1.2.0 copy "spacetimedb: ^1.2.0" to clipboard
spacetimedb: ^1.2.0 copied to clipboard

Dart SDK for SpacetimeDB. Real-time sync, BSATN codec, code generation, and offline-first support.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate spacetimedb

Use it

The package has the following executables:

$ generate

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add spacetimedb

With Flutter:

 $ flutter pub add spacetimedb

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  spacetimedb: ^1.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:spacetimedb/spacetimedb.dart';
3
likes
140
points
215
downloads

Publisher

verified publishermit.sh

Weekly Downloads

Dart SDK for SpacetimeDB. Real-time sync, BSATN codec, code generation, and offline-first support.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#spacetimedb #database #realtime #websocket #codegen

Documentation

Documentation
API reference

License

unknown (license)

Dependencies

args, brotli, fixnum, http, meta, path, uuid, web_socket_channel

More

Packages that depend on spacetimedb