Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
process.argv.push('--help');
require('homebridge/lib/cli.js'); // dont run. only load
var Server = require('homebridge/lib/server.js').Server;
var server = new Server();
if (server._api) { // eslint-disable-line no-underscore-dangle
console.log('ok');
}