UNPKG
browser-extension-url-match
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
Browser extension URL pattern matching
github.com/lionel-rowe/browser-extension-url-match
browser-extension-url-match
/
dist
/
utils.d.ts
4 lines
(3 loc)
•
193 B
TypeScript
View Raw
1
2
3
4
import
{
MatchFn
}
from
'./types'
;
export
declare
const
normalizeUrlFragment
:
(
urlFragent
:
string
) =>
string
|
Error
;
export
declare
function
createMatchFn
(
fn
: (url: URL) =>
boolean
):
MatchFn
;