This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
@firebase/firestore with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
This package is not intended for direct usage, and should only be used via the officially supported firebase package.
If you are developing a Node.js application that requires administrative access to Cloud Firestore,
SDK with your developer credentials.
You can then use the firebase namespace exposed by this package as illustrated below:
import firebase from '@firebase/app'; import '@firebase/firestore' // Do stuff w/ `firebase` and `firebase.firestore`
const firebase = require('@firebase/app').default; require('@firebase/firestore'); // Do stuff with `firebase` and `firebase.firestore`
For comprehensive documentation please see the Firebase Reference Docs.
See Contributing to the Firebase SDK for general information about contributing to the firebase-js-sdk repo and Contributing to the Cloud Firestore Component for details specific to the Cloud Firestore code and tests.