Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

zylelabs/cosmic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪐 Cosmic - Deno Web Framework 🪐

Minimalist & fast web framework for Deno 🦕💫

Features

  • Lightweight and high-performance
  • Simple implementation
  • 0 dependencies
  • Routes and middlewares included

Example usage

import { App, RequestCosmic, ResponseCosmic } from '../cosmic/mod.ts';

const app = new App();

app.get('/', (_req: RequestCosmic, res: ResponseCosmic) => {
	res.send({ Hello: 'World' });
});

app.listen(3000, 'localhost', (server) => {
	console.log(`Application running on http://${server.hostname}:${server.port}/`);
});

About

Minimalist & fast web framework for Deno 🦕💫

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published