URIUtils
Module Overview
Usage
- Node
- Deno
- Browser/ESM
import * as URIUtils from 'keywork/uri'
import * as URIUtils from 'https://deno.land/x/keywork/uri'
let URIUtils = await import('https://esm.sh/keywork/uri')
Type Aliases
Path Parsing Functions
Type Cast Functions
Exports
PathBuilder
Re-exports PathBuilder
Keywork uses JavaScript's built-in URL Pattern API to create pattern matchers. The syntax is based on path-to-regexp. Wildcards, named capture groups, regular groups, and group modifiers are all supported.
URL patterns can be matched against full URLs, or individual URL components:
Peer Dependencies
Support for the URL Pattern API varies across browser runtimes. You may need a polyfill if your app uses a runtime that hasn't yet added
URLPattern
class.External Resources