/router

JavaScript router for SPA

Primary LanguageJavaScript

Router is a simple and lightweight routing library for SPA

Router is a simple and lightweight routing library for JavaScript applications. It allows you to define routes and handle navigation between different views or pages in your application.

Alt

Status

Dependencies Package Version GitHub Release NPM Version License: MIT Code size GitHub JS Size

Features

  • Add/Remove routes
  • Middleware support
  • Before and after hooks
  • Route parameters
  • Query parameters
  • History-based routing
  • Cache management

Documentation

Read about Router usage in the Metro UI documentation.

License

Router is licensed under a MIT license.

Sponsors

No sponsor yet :( Support this project by donating.


Copyright © 2025 by Serhii Pimenov