Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pulyaevskiy/firestore-interop
Dart facade for Cloud Firestore NodeJS client library.
https://github.com/pulyaevskiy/firestore-interop
Last synced: about 1 month ago
JSON representation
Dart facade for Cloud Firestore NodeJS client library.
- Host: GitHub
- URL: https://github.com/pulyaevskiy/firestore-interop
- Owner: pulyaevskiy
- License: bsd-3-clause
- Created: 2017-10-17T03:21:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T22:41:33.000Z (almost 7 years ago)
- Last Synced: 2023-08-20T21:57:12.357Z (about 1 year ago)
- Language: Dart
- Size: 13.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart facade for Cloud Firestore NodeJS client library.
_Type definitions are auto-generated using `dart_js_facade_gen` tool._
Usage:
```dart
import 'package:firestore_interop/firestore_interop.dart';
import 'package:js/js.dart';
import 'package:js/js_util.dart';void main() {
var firestore = initFirestore(
projectId: '',
keyFilename: '',
);
var doc = firestore.doc('/posts/intro-to-firestore');
doc.set(jsify({'body': 'Hello World'})).then(allowInterop((_) {
print('Doc saved.');
}), allowInterop((error) {}));
}
```## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: https://github.com/pulyaevskiy/firestore-interop/issues/new