firefuse. Definitely typed utilities for firestore
This is monorepo of firefuse
and firefuse-admin
, which correspond firebase
and firebase-admin
respectively.
What can I do with this package?
firefuse
provides
- Zero-bundle package.
- Fully compatible API with
firebase
. You don't have to learn anything other than original one. - Type-safe path.
- Automatically typed
doc()
andcollection()
inferred by the path you sepcified. - Type-safe
where()
. For example, prohibiting querying withstring
whose type is actuallynumber
, removing undefined from specified property, narrowing union type using==, in, not-in
... and more! - Type-safe
query()
. For example, you CANNOT filter two or more fields, CANNOT order unfilterd field ... and many more.firefuse
detects all illegal constraints.(firefuse
only for now)
Details are in each folders.