Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
pillarjs
/
router
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
124
Star
448
Code
Issues
16
Pull requests
34
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
feat: add getRoutes method to list registered routes
- #174
#174
Open
bjohansebas
wants to merge 22 commits into
pillarjs:master
pillarjs/router:master
from
bjohansebas:maproutes
bjohansebas/router:maproutes
Copy head branch name to clipboard
Conversation
Commits
22
(22)
Checks
Files changed
Open
feat: add getRoutes method to list registered routes
#174
bjohansebas
wants to merge 22 commits into
pillarjs:master
pillarjs/router:master
from
bjohansebas:maproutes
bjohansebas/router:maproutes
Copy head branch name to clipboard
Commits
Commits on Jul 28, 2025
feat: add _mapRoutes method to list registered routes
Show description for b21c685
bjohansebas
committed
b21c685
View commit details
Copy full SHA for b21c685
Browse repository at this point
fix: don't create double slashes when mounting at root
Show description for 73fae83
bjohansebas
committed
73fae83
View commit details
Copy full SHA for 73fae83
Browse repository at this point
Commits on Jul 29, 2025
[WIP] include route options
Show description for f491e42
bjohansebas
committed
f491e42
View commit details
Copy full SHA for f491e42
Browse repository at this point
include keys for parameter routes
Show description for 9b19b4d
bjohansebas
committed
9b19b4d
View commit details
Copy full SHA for 9b19b4d
Browse repository at this point
rename function
Show description for 440a46e
bjohansebas
committed
440a46e
View commit details
Copy full SHA for 440a46e
Browse repository at this point
Let the routes be repeated so that consumers can decide what to do, instead of having opinions about it
Show description for faac557
bjohansebas
committed
faac557
View commit details
Copy full SHA for faac557
Browse repository at this point
docs: add docs for this new api
Show description for 16b6c77
bjohansebas
committed
16b6c77
View commit details
Copy full SHA for 16b6c77
Browse repository at this point
Commits on Nov 1, 2025
update route collection structure in getRoutes
Show description for 856dff1
bjohansebas
committed
856dff1
View commit details
Copy full SHA for 856dff1
Browse repository at this point
test: unskip more test
Show description for 02c672d
bjohansebas
committed
02c672d
View commit details
Copy full SHA for 02c672d
Browse repository at this point
Commits on Nov 2, 2025
test: unskip more test
Show description for 2b19160
bjohansebas
committed
2b19160
View commit details
Copy full SHA for 2b19160
Browse repository at this point
test: unskip more test
Show description for 45f5da5
bjohansebas
committed
45f5da5
View commit details
Copy full SHA for 45f5da5
Browse repository at this point
feat: add 'end' option to route options
Show description for 4f611f4
bjohansebas
committed
4f611f4
View commit details
Copy full SHA for 4f611f4
Browse repository at this point
no normalice paths
Show description for 376f83d
bjohansebas
committed
376f83d
View commit details
Copy full SHA for 376f83d
Browse repository at this point
fix: remove 'end' option from route options in collectRoutes function
Show description for 62f14bb
bjohansebas
committed
62f14bb
View commit details
Copy full SHA for 62f14bb
Browse repository at this point
Commits on Nov 8, 2025
feat: add route name to collected routes
Show description for 306eefd
bjohansebas
committed
306eefd
View commit details
Copy full SHA for 306eefd
Browse repository at this point
Commits on Nov 9, 2025
feat: enhance route key extraction for regex and dynamic routes
Show description for e75bcb7
bjohansebas
committed
e75bcb7
View commit details
Copy full SHA for e75bcb7
Browse repository at this point
docs: update jsdocs and readmed
Show description for 6c071e7
bjohansebas
committed
6c071e7
View commit details
Copy full SHA for 6c071e7
Browse repository at this point
Commits on Jul 15, 2026
feat: simplify to minimal listRoutes() API
Show description for 5e71b5a
bjohansebas
committed
5e71b5a
View commit details
Copy full SHA for 5e71b5a
Browse repository at this point
fix: make listRoutes methods output match dispatch behavior
Show description for 99d3a49
bjohansebas
committed
99d3a49
View commit details
Copy full SHA for 99d3a49
Browse repository at this point
fix: harden mounted-router detection and path snapshotting in listRoutes
Show description for 84a6cf2
bjohansebas
committed
84a6cf2
View commit details
Copy full SHA for 84a6cf2
Browse repository at this point
docs: document empty methods and prefix matching in listRoutes
Show description for f51173f
bjohansebas
committed
f51173f
View commit details
Copy full SHA for f51173f
Browse repository at this point
fix: flatten nested path arrays and move _all filtering into Route
Show description for 25376b8
bjohansebas
committed
25376b8
View commit details
Copy full SHA for 25376b8
Browse repository at this point
You can’t perform that action at this time.