You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

openfin-config-builder

Package Overview
Dependencies
Maintainers
12
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openfin-config-builder

Node.js tool that builds/updates OpenFin config files

2.0.1
latest
Source
npmnpm
Version published
Weekly downloads
43
-50.57%
Maintainers
12
Weekly downloads
 
Created
Source

openfin-config-builder

Build Status

OpenFin-Config-Builder is a Node.js module that automates creating and updating OpenFin application config files. You can read up on application config options on the OpenFin config file API docs.

Install

$ npm install --save openfin-config-builder

Usage

var configBuilder = require('openfin-config-builder');

//you can create new config files
//configBuilder.create(configOptionsObject, configPath);
configBuilder.create({
        startup_app: {
            name: 'myAppName',
            url: 'http://www.openfin.co'
        }
    }, 'app.json').then(function (){
        console.log('Success');
    }).fail(function (err){
        console.log(err);
    });

//you can also update existing configs with updated values
//configBuilder.update(configOptionsObject, configPath);
configBuilder.update({
        startup_app: {
            name: 'staging_app',
            url: 'http://staging-app.com'
        }
    }, 'app.json').then(function (){
        console.log('Success');
    }).fail(function (err){
        console.log(err);
    });

Application Config Info:

You can read up on OpenFin application config options on the OpenFin config file API docs.

License

MIT

Keywords

openfin-config-builder

FAQs

Package last updated on 28 Nov 2018

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