UNPKG

express-gateway

Version:

A microservices API gateway built on top of ExpressJS

14 lines (10 loc) 254 B
#!/usr/bin/env node const eg = { get config () { return require('../lib/config'); } }; const bootstraped = require('./environment').bootstrap(eg); if (bootstraped && bootstraped.program) { bootstraped.program.parse(process.argv.slice(2)); }