Skip to main content

hidane 0.6.0 copy "hidane: ^0.6.0" to clipboard
hidane: ^0.6.0 copied to clipboard

A Firestore emulator without Java. Downloads hidane's release binary for your platform on first run, checks its SHA-256 and runs it, for example under firebase emulators:start.

example/hidane_example.dart

// Most projects run hidane from the command line:
//
//     dart pub global activate hidane
//     hidane exec -- firebase emulators:start --only firestore
//
// The library starts it from Dart code too, for example from a test harness. The first call
// downloads the release binary for this platform and checks its SHA-256; later calls reuse it.
import 'dart:io';

import 'package:hidane/hidane.dart';

Future<void> main() async {
  // Prints `hidane <version>`; any other arguments are passed the same way, such as
  // ['--host', '127.0.0.1', '--port', '8080'] to start the emulator.
  final code = await runHidane(['--version']);
  exit(code);
}
1
likes
160
points
585
downloads

Documentation

API reference

Publisher

verified publisherhidane.dev

Weekly Downloads

A Firestore emulator without Java. Downloads hidane's release binary for your platform on first run, checks its SHA-256 and runs it, for example under firebase emulators:start.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#firestore #firebase #emulator #testing

License

Apache-2.0, MIT (license)

Dependencies

crypto

More

Packages that depend on hidane