UNPKG

rerumaccusamus

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

19 lines (14 loc) 487 B
import { ModernServerOptions } from './type'; import { Server } from './server'; export { Server }; export { ModernServer } from './server/modern-server'; export { createProxyHandler } from './libs/proxy'; export * from './type'; export * from './constants'; export default (options: ModernServerOptions): Promise<Server> => { if (options == null) { throw new Error('can not start mserver without options'); } const server = new Server(options); return server.init(); };