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.

15 lines (14 loc) 205 B
/*! * cnode * authors: Ben Lue * Copyright(c) 2015 Conwell Inc. */ exports.run = function(rt, cb) { var x = a + 3, result = { code: 0, message: 'Ok', value: x }; cb(null, result); };