Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.5 KB

Readme.md

File metadata and controls

45 lines (30 loc) · 1.5 KB

Kython

license-info stars-infoa

Last-Comitt Comitts Year reposize-info

SourceForge Languages

📃 | Description

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.

❓ | How to use

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')