@olton/router
Version:
Router for SPA.
41 lines (28 loc) • 1.55 kB
Markdown
# 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.

#### Status







## Features
- [x] Add/Remove routes
- [x] Middleware support
- [x] Before and after hooks
- [x] Route parameters
- [x] Query parameters
- [x] History-based routing
- [x] Cache management
## Documentation
Read about `Router` usage in the [Metro UI](https://docs-new.metroui.org.ua/libraries/router) documentation.
## License
Router is licensed under a [MIT license](LICENSE).
## Sponsors
No sponsor yet :(
Support this project by [donating](https://www.patreon.com/metroui).
---
Copyright © 2025 by [Serhii Pimenov](https://pimenov.com.ua)