Introducing @saahen.sriyan.mishra/micro-router: A Lightweight, Secure HTTP Router for Node.js

Introducing @saahen.sriyan.mishra/micro-router No more bloated dependencies just to set up a simple HTTP router in Node.js. @saahen.sriyan.mishra/micro-router, a secure, lightweight, and zero-dependency routing package built with simplicity, speed, and security in mind — perfect for microservices, internal tools, or quick prototyping. Installation npm install @saahen.sriyan.mishra/micro-router Core Features Register GET/POST/PUT/DELETE routes Built-in rate limiting Secure headers out-of-the-box Auto IP blacklisting Request logging JSON payload validation Payload size limit (1MB) Folder Structure Overview micro-router/ ├── index.js # Core router logic ├── test.js # Server boot example ├── run-tests.js # CLI-based endpoint test runner ├── .npmrc # Custom NPM config ├── package.json # Package metadata └── README.md # Documentation └── Test.md # Test Report Documentation

May 3, 2025 - 05:42
 0
Introducing @saahen.sriyan.mishra/micro-router: A Lightweight, Secure HTTP Router for Node.js

Introducing @saahen.sriyan.mishra/micro-router

No more bloated dependencies just to set up a simple HTTP router in Node.js.
@saahen.sriyan.mishra/micro-router, a secure, lightweight, and zero-dependency routing package built with simplicity, speed, and security in mind — perfect for microservices, internal tools, or quick prototyping.

Installation

npm install @saahen.sriyan.mishra/micro-router

Core Features

  • Register GET/POST/PUT/DELETE routes
  • Built-in rate limiting
  • Secure headers out-of-the-box
  • Auto IP blacklisting
  • Request logging
  • JSON payload validation
  • Payload size limit (1MB)

Folder Structure Overview

micro-router/
├── index.js          # Core router logic
├── test.js           # Server boot example
├── run-tests.js      # CLI-based endpoint test runner
├── .npmrc            # Custom NPM config
├── package.json      # Package metadata
└── README.md         # Documentation
└── Test.md           # Test Report Documentation