frontexpress/lib/frontexpress.js

10 lines
302 B
JavaScript
Executable File

import Application from './application';
import Router from './router';
import Middleware from './middleware';
const frontexpress = () => new Application();
frontexpress.Router = (baseUri) => new Router(baseUri);
frontexpress.Middleware = (name) => new Middleware(name);
export default frontexpress;