0.0.1 • Published 9 years ago
redribbot-brain v0.0.1
redribbot-brain
A tiny brain for redribbot scripts.
Install
npm install redribbot-brain
Usage
FIREBASE_TOKEN
should be on environemnt variable.
B = require 'redribbot-brain'
# firebase root ref can be accessed via B.root
root = B.root
keyRef = root.child 'key'
# callback will be called when authentication complete successfully
B.auth (auth) ->
return unless auth
# fetch data or other initialization process
0.0.1
9 years ago