🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@kubilaytr/lightroute

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubilaytr/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.

Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
38
-22.45%
Maintainers
2
Weekly downloads
 
Created
Source

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

đź“° License

Apache 2.0

đź«… Authors

Keywords

lightweight

FAQs

Package last updated on 30 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts