πWelcome
LightRoute is a ROUTER module just like ExpressJS, but its simpler and light-weight. You can route your websites create apis etc.
Lets Start Building π
$ npm install @kubilaytr/lightrouteconst lightroute = require("@kubilaytr/lightroute")
const app = new lightroute()
app.get("/", (req,res) => {
res.text("Hello World!")
})
app.listen(80,function(){
console.log("Listening 80")
})Last updated
Was this helpful?