UNPKG

@lottojs/lotto

Version:

Simple, lightweight and dependency-free NodeJS web application framework.

10 lines (9 loc) 544 B
import { Debugger } from 'debug'; import { Path } from '../router/router.types'; export declare function toDebug(_module: string): Debugger; export declare function isObject(input: unknown): input is Record<string, unknown>; export declare function isInstanceOf(input: unknown, name: string): boolean; export declare function isPath(input: unknown): input is Path; export declare function toString<T>(object: object | Array<T>): string; export declare function toJson(data: string): JSON; export declare function cleanPath(path: Path): string;