0.2.6 • Published 9 months ago
@firestore-emulator/server v0.2.6
@firestore-emulator/server
This package is the implementation of the Firestore emulator. It is a Node.js
Installation
npm install @firestore-emulator/server
Usage
import { FirestoreServer } from '@firestore-emulator/server'
const server = new FirestoreServer()
await server.start(8080)
// now you can connect to the emulator at localhost:8080
API
FirestoreServer
state
The current state of the emulator.
see below: FirestoreState
FirestoreState
toJSON()
emits a JSON representation of the state.
for example, you can use the firestore data for snapshot testing:
expect(server.state.toJSON()).toMatchSnapshot()
0.2.6
9 months ago
0.2.5
10 months ago
0.2.1
10 months ago
0.2.3
10 months ago
0.2.2
10 months ago
0.2.4
10 months ago
0.2.0
10 months ago
0.1.0
11 months ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago