0.3.1 • Published 12 months ago

@firestore-emulator/server v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@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.21

12 months ago

0.2.20

12 months ago

0.2.19

12 months ago

0.2.18

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.3.0

12 months ago

0.2.7

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.3.1

12 months ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.1

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.4

1 year ago

0.2.0

1 year ago

0.1.0

2 years 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

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago