UNPKG

jamsocket

Version:

A CLI for the Jamsocket platform

8 lines (7 loc) 386 B
import http from 'http'; export type Color = 'cyan' | 'magenta' | 'yellow' | 'blue'; export declare function createColorGetter(): () => Color; export declare function readRequestBody(req: http.IncomingMessage): Promise<string>; export declare function termwidth(): number; export declare function capitalize(s: string): string; export declare function sleep(ms: number): Promise<void>;