Giter Site home page Giter Site logo

openfin / node-openfin-config-builder Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 10.0 69 KB

OpenFin-Config-Builder is a Node.js module that automates creating and updating OpenFin application config files

Home Page: http://openfin.co/

License: MIT License

JavaScript 100.00%

node-openfin-config-builder's Introduction

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

The code in this repository is covered by the included license.

However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin’s Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at [email protected] with questions.

https://openfin.co/developer-agreement/
https://openfin.co/licensing/

node-openfin-config-builder's People

Contributors

dcchuck avatar mjosling avatar rdepena avatar tgoc99 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.