UNPKG

@riogz/router

Version:

A simple, lightweight, powerful, view-agnostic, modular and extensible router

10 lines (9 loc) 210 B
export interface Token { type: string; match: string; val: any; otherVal: any; regex?: RegExp; } declare const tokenise: (str: string, tokens?: Token[]) => Token[]; export default tokenise;