3.1.0 • Published 5 years ago

exothermic v3.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Exothermic

A small library to create firebase server for local development and testing.

$ npm install exothermic

old

import Firebase from 'firebase'

const FIREBASE_URL = '...'
let firebase = new Firebase(FIREBASE_URL)

new

import exothermic from 'exothermic'

const initialdata = {
  ...
}
let firebase = exothermic(initialdata)

TODO

Not yet the whole API is mocked, because I think there are some parts that I don't need. All the other parts are mocked and should be working: let me know if there is a bug!

Reference (Methods)

  • child()
  • parent()
  • root()
  • key()
  • set()
  • update()
  • remove()
  • push()
  • setWithPriority() Really, screw priority
  • ~~setPriority() Really, screw priority
  • transaction()

Query (Methods)

  • on()
  • off()
  • once()
  • orderByChild()
  • orderByKey()
  • orderByValue()
  • orderByPriority() Really, screw priority
  • startAt()
  • endAt()
  • equalTo()
  • limitToFirst()
  • limitToLast()
  • ref()

Firebase.onDisconnect() (Methods)

  • set()
  • update()
  • remove()
  • setWithPriority()
  • cancel() Don't think this is necessary

Firebase.ServerValue (Constants)

  • TIMESTAMP

DataSnapshot (Methods)

  • exists()
  • val()
  • child()
  • forEach()
  • hasChild()
  • hasChildren()
  • key()
  • name()
  • numChildren()
  • ref()
  • getPriority() Not sure if I am gonna implement this
  • exportVal()
3.1.0

5 years ago

3.0.0

5 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago