@intentjs/hyper-express
Version:
A fork of hyper-express to suit IntentJS requirements. High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
10 lines (6 loc) • 433 B
TypeScript
export function wrap_object(original: object, target: object): void;
export type PathKeyItem = [key: string, index: number];
export function parse_path_parameters(pattern: string): PathKeyItem[];
export function array_buffer_to_string(array_buffer: ArrayBuffer, encoding?: string): string;
export function async_wait(delay: number): Promise<any>;
export function merge_relative_paths(base_path: string, new_path: string): string;