Reference
Every function, option, and type of both ports, and the rules that decide which pattern matches.
These pages state what patrun does, in full, for a reader who knows what they are looking for. The how-to guides show the same in use.
- How a match is chosenWhich patterns match a query, the order that decides between them, the forms of globs and intervals, and the order of a list.
- What patterns and queries holdThe keys and values a pattern and a query may have in each port, and what each function does with anything else.
- JavaScript APIThe patrun function, its options, and every method of a router, in JavaScript.
- TypeScript typesThe types the package exports, and what each one describes.
- Go APIThe Go package's constructor, options, methods, and types, and where it differs from the JavaScript package.