iopa
Version:
API-first, Internet of Things (IoT) stack for Typescript, official implementation of the Internet Open Protocols Alliance (IOPA) reference pattern
11 lines • 466 B
TypeScript
import { UrlPattern } from '@iopa/types';
export declare const splitPath: (path: string) => string[];
export declare const getPattern: (label: string) => UrlPattern | null;
interface IParams {
strict: boolean;
}
export declare const getPathFromURL: (url: string, params?: IParams) => string;
export declare const isAbsoluteURL: (url: string) => boolean;
export declare const mergePath: (...paths: string[]) => string;
export {};
//# sourceMappingURL=url.d.ts.map