UNPKG

@notross/mongo-singleton

Version:

A lightweight, zero-fuss way to get a single shared MongoDB connection across your Node.js codebase.

3 lines 197 B
import { InitClientProps, UseClientResponse } from './types'; export declare const useClient: (clientId: string, props?: InitClientProps) => UseClientResponse; //# sourceMappingURL=clients.d.ts.map