UNPKG

mongo2elastic

Version:
8 lines (7 loc) 335 B
import type { Collection } from 'mongodb'; export declare const indexFromCollection: (collection: Collection) => string; export declare const indexFromDbAndCollection: (collection: Collection) => string; /** * Does arr start with startsWith array. */ export declare const arrayStartsWith: (arr: any[], startsWith: any[]) => boolean;