@zohodesk/client_build_tool
Version:
A CLI tool to build web applications and client libraries
19 lines (15 loc) • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.initExpressApp = initExpressApp;
var _express = _interopRequireDefault(require("express"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function initExpressApp() {
const app = (0, _express.default)();
app.use(_express.default.json());
app.use(_express.default.urlencoded({
extended: true
}));
return app;
}