0.3.1 • Published 7 months ago

@firestore-emulator/server v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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

8 months ago

0.2.20

8 months ago

0.2.19

8 months ago

0.2.18

8 months ago

0.2.15

9 months ago

0.2.14

9 months ago

0.2.13

10 months ago

0.2.12

10 months ago

0.2.11

11 months ago

0.2.10

11 months ago

0.3.0

8 months ago

0.2.7

12 months ago

0.2.9

11 months ago

0.2.8

12 months ago

0.3.1

7 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

1 year 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