UNPKG

availity-ekko

Version:

Mock server simulating Availity API rest services

14 lines (10 loc) 298 B
'use strict'; const path = require('path'); const Ekko = require('./server'); const yargs = require('yargs'); const argv = yargs.argv; const configPath = argv.ekkoConfig || path.join(__dirname, 'config.js'); const ekko = new Ekko(configPath); ekko .start() .catch(function() {/* no op */});