Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
openfin-launcher
Advanced tools
OpenFin-Launcher is an Node.js module that automates the downloading and launching of The OpenFin Runtime. This module asumes you have an application config file. You can read up on application config options on the OpenFin config file API docs, or generate it automatically with the openfin-config-builder.
Currently only supports Windows.
$ npm install --save openfin-launcher
var openfinLauncher = require('openfin-launcher');
openfinLauncher.launchOpenFin({
//Launch a hosted application
configPath: 'http://localhost:5000/app.json'
//Or a file path
//configPath: 'file:/C:/helloWorld/app.json'
})
.then(function() {
console.log('success!');
})
.fail(function(error) {
console.log('error!', error);
});
//you can also specify the location of the OpenFin Runtime rvm and the download url
openfinLauncher.launchOpenFin({
configPath: 'http://localhost:5000/app.json',
rvmPath: 'C:/helloWorld/OpenFinRMV.exe',
rvmUrl: 'https://developer.openfin.co/release/rvm/latest'
})
.then(function() {
console.log('success!');
})
.fail(function(error) {
console.log('error!', error);
});
##Options
####configPath
Type: String
Default Value: ''
OpenFin Application Configuration file path as described in the OpenFin config file API docs.
Examples:
'http://localhost:3000/app.json'
'file:/C:/helloWorld/app.json'
####rvmPath
Type: String
Default Value: path.resolve('OpenFinRVM.exe');
OpenFin RVM location, if not found at the specified path the latest version will be downloaded.
###rvmUrl
Type: String
Default Value: https://developer.openfin.co/release/rvm/latest
Location to the OpenFin RVM downoad URL, if the OpenFin RVM is not found this URL will be used to download the binary.
MIT
FAQs
OpenFin launcher
We found that openfin-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.