This project was born from the idea of creating a native framework for Bun, Deno, or Node, aiming to be faster than alternatives like Fastify or Express. I’m working to achieve this goal, but for now, this project is just an experiment. I do not recommend using it in production, and no support is available.
import { Kython, Router } from './src/index'
const server = new Kython()
server.get('/', (_request, response) => {
response.send('Hello world')
})
new Router({
path: '/exemple',
methods: {
get(_request, response) {
response.json({ hello: 'world' })
}
}
})
server.listen(3000, '0.0.0.0')