New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

firecracker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firecracker

Firecracker is a small firebase js client wrapper

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
3
-70%
Maintainers
1
Weekly downloads
 
Created
Source

firecracker

browser support

Firecracker is a small wrapper around the firebase js client.
It takes a root and allows you to compose in some nice ways. It will also unpack val & name.

Install

Firecracker is available on npm.

npm install firecracker

Use

var root = new Firebase('http://my.firebase.root')
firecracker(root)
    .path('/user/messages')
    .from('-JKUu24YeVsjhkDMfSkR')
    .on('child_added', function(child) {
        console.log(child.fid)
    })
    .on('child_updated', function(child) {
        console.log('update!')
    })
    .listen()

Docs

For full documentation see the spec.

Changelog

1.0.1

  • Using .limitToLast to mimic previous .limit behaviour
  • Using .key over .name

1.0.0

  • Replaced .limit with .limitToFirst since .limit is being deprecated
  • Aligning with semver

0.0.1

  • Initial release

enjoy.

Keywords

firebase

FAQs

Package last updated on 30 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts