Skip to content

RedRibbon/redribbot-brain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

⚡ A tiny brain for redribbot scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published