Socket
Book a DemoInstallSign in
Socket

app-context-connie-firebase

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

app-context-connie-firebase

connie-firebase initializer for app-context

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

app-context-connie-firebase

connie-firebase initializer for app-context

Installation

$ npm install --save app-context-connie-firebase

Usage

var AppContext = require('app-context');
var connieFirebase = require('app-context-connie-firebase');

module.exports = AppContext.createContext({
  configure: function() {
    this.use(
      AppContext.RunLevel.Configured,
      // load the configuration from firebase using connie
      connieFirebase('https://config-firebaseio.com/' + APP.environment)
    );

    // you can optionally use app-context-connie-firebase through app-context-initialize
    var initialize = require('app-context-initialize');
    this.use(
      AppContext.RunLevel.Configured,
      initialize(['connie-firebase', 'https://config-firebaseio.com/' + APP.environment])
    );
  }
});

FAQs

Package last updated on 14 Sep 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.