Module

x/ash/mod.ts

A stylish web framework for Deno!
Latest
File
/* Ash Framework */
export * from './src/Router/Route.ts';export * from './src/Middleware/Middleware.ts';export * from './src/Controller.ts';export * from './src/Request.ts';
/* Middleware */export * from './middleware/cookies.ts';export * from './middleware/static.ts'
/* Other Utilites */export * from './src/EventEmitter.ts';export * from './src/Dynamic.ts';export * from './src/mime.ts';export * as path from './src/path.ts';export * as trifle from './src/Template/trifle.ts';export { pathToRegexp } from './src/Router/pathToRegexp.ts';
/* Ash Library */import handle from './src/Server/handle.ts';import middleware from './src/Middleware/MiddlewareStore.ts';
import AshCookiesMiddleware from './middleware/cookies.ts';
export const ash = { start: handle, middleware};
ash.middleware.set('cookies', new AshCookiesMiddleware());
export default ash;