webssh2-server
Version:
A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2
10 lines (9 loc) • 335 B
TypeScript
import type { Config } from './types/config.js';
export declare function loadConfigAsync(): Promise<Config>;
export declare function getConfig(): Promise<Config>;
export declare function getCorsConfig(): {
origin: string[];
methods: string[];
credentials: boolean;
};
export declare function resetConfigForTesting(): void;