UNPKG
routup
Version:
alpha (3.0.0-alpha.3)
latest (4.0.2)
4.0.2
4.0.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.0
3.0.0-alpha.3
3.0.0-alpha.2
3.0.0-alpha.1
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
0.14.2
0.14.1
0.14.0
0.13.1
0.13.0
0.12.0
0.11.0
0.10.0
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.3.0-alpha.0
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
Routup is a minimalistic http based routing framework.
github.com/routup/routup
routup/routup
routup
/
dist
/
path
/
type.d.ts
8 lines
(7 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
ParseOptions
,
PathToRegexpOptions
}
from
'path-to-regexp'
;
export
type
PathMatcherOptions
=
PathToRegexpOptions
&
ParseOptions
;
export
type
PathMatcherExecResult
= {
path
:
string
;
params
:
Record
<
string
,
any
>; };
export
type
Path
=
string
;