UNPKG

apinode

Version:

An API server that can greatly reduce the work needed to implment API services. It can also cooperate with other API node to make it a mesh of services.

9 lines (7 loc) 232 B
var cnodeConfig = require('./cnodeConfig.json'), apiNode = require('./apiNode.js'); apiNode.init( cnodeConfig ); apiNode.restart(); if (cnodeConfig.certDir) // start the SSL version apiNode.restart(null, cnodeConfig.certDir);