Installation
npm install --save @types/muri
Summary
This package contains type definitions for muri (https://github.com/aheckmann/muri).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/muri.
index.d.ts
export = Muri;
declare function Muri(uri: string): Muri.ParsedUri;
declare namespace Muri {
interface ParsedUri {
db: string;
hosts: Host[];
options: any;
auth?: {
user: string;
pass?: string | undefined;
} | undefined;
}
interface DefaultHost {
host: string;
port: number;
}
interface SocketHost {
ipc: string;
}
type Host = DefaultHost | SocketHost;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by jloveridge.