UNPKG

@microsearch/lightning

Version:

Lightning fast text search for Node.js - blazing fast markdown and text search engine ⚡

8 lines (7 loc) 263 B
import { SearchDocument } from '../core/search.js'; /** * Loads documents from a directory * @param rootPath Root directory path * @returns Array of SearchDocument objects */ export declare function loadDocuments(rootPath: string): Promise<SearchDocument[]>;