Nukem's Possible Manifestation
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    gfpublic

    Build Status

    About

    Global variables Factory module.

    Install

    $ npm install gf

    Usage

    • in startup script:
     
    var factory = require('gf').instance();
     
    factory.set('mysql', mysql);
    factory.set('errorlog', errorlog);
     
    • in any other scripts:
    var factory = require('gf').instance();
     
    factory.get('mysql').query('SHOW DATABASES', function (e, data) {
      console.log(data);
    });

    License

    MIT

    Keywords

    none

    install

    npm i gf

    Downloadslast 7 days

    1

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar