@nickmaina/mongors
Version:
A very opinionated cli to run a MongoDB replica set locally for development
14 lines (13 loc) • 358 B
TypeScript
import { mongoRsOptions } from "./typings";
export declare class ReplicaSet {
server: any;
options: mongoRsOptions;
constructor(options: mongoRsOptions);
setServer: () => void;
purge: () => any;
discover: () => any;
url: () => string;
start: () => Promise<void>;
stop: () => any;
}
export default ReplicaSet;