routup
Version:
Routup is a minimalistic http based routing framework.
8 lines (7 loc) • 542 B
TypeScript
export declare function hasTrailingSlash(input?: string, queryParams?: boolean): boolean;
export declare function withoutTrailingSlash(input?: string, queryParams?: boolean): string;
export declare function withTrailingSlash(input?: string, queryParams?: boolean): string;
export declare function hasLeadingSlash(input?: string): boolean;
export declare function withoutLeadingSlash(input?: string): string;
export declare function withLeadingSlash(input?: string): string;
export declare function cleanDoubleSlashes(input?: string): string;