UNPKG

@platform/react.ssr

Version:

A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.

16 lines (15 loc) 593 B
export declare const asString: (value?: any) => string; export declare function parseYaml(text: string): { ok: boolean; data: string | object | undefined; error?: undefined; } | { ok: boolean; error: any; data?: undefined; }; export declare function stripHttp(input?: string): string; export declare function stripSlashes(input?: string): string; export declare function formatPath(path: string): string; export declare function firstSemver(...versionOrPath: (string | undefined)[]): string | undefined; export declare function isDomainRegex(domain?: string): boolean;