1.0.9 âĸ Published 2 years ago
@kubilaytr/lightroute v1.0.9

đŠī¸ LightRoute
A ligth weight router module just like ExpressJS, it's easy to use and easy to understand and it's a good choice for beginners also professionals.
đŊ Features
- Eays to learn
- Every functions you need to.
- Lightweitght and fast as lightning
- Cross platform
đĻ Installation
You can install LightRoute via NPM/YARN
  npm install lightroute
  yarn add lightrouteđ Documentation
You can learn how to use it from GitBook
const lightroute = require("@kubilaytr/lightroute")
const app = new lightroute()
app.get("/", (req,res) => {
    res.send("test.html")
})
app.listen(80)Socket.io example;
const lightroute = require("@kubilaytr/lightroute")
const app = new lightroute()
var server = require("http").createServer(app.http)
app.get("/", (req,res) => {
    res.send("test.html")
})
server.listen(80)
const io = require('socket.io')(server);
io.on('connection', client => {
  client.on('event', data => {  });
  client.on('disconnect', () => {  });
});â Support
You can get support from our discord servers