1.0.9 â€ĸ Published 3 months ago

@kubilaytr/lightroute v1.0.9

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

Banner

🌩ī¸ 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

Documentation

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

npm.io

npm.io

📰 License

Apache 2.0

đŸĢ… Authors

1.0.9

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

5 months ago

1.0.1

6 months ago

1.0.0

6 months ago