Skip to main content
Home

A lightweight, flexible routing library for JavaScript.

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
a year ago (0.3.2)
f
createRouter

Creates a Router instance for modular route handling. This router supports middleware and RESTful route methods like GET, POST, etc.

f
default

Creates an application instance with routing and middleware support.

T
MiddlewareFunction
No documentation available
I
Route
No documentation available
T
RouteHandler
No documentation available
f
bodyParser

Middleware to parse the request body and populate req.body and req.files.

f
cookieParser

Middleware to parse cookies from the request headers. Adds a cookies property to the request object.

f
cors

CORS Middleware to handle Cross-Origin Resource Sharing.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.