UNPKG

nodedb-json

Version:

A lightweight JSON-based database for Node.js with TypeScript support, indexing, and complex query capabilities

9 lines (8 loc) 371 B
export declare function ensureParentDirectory(filePath: string): void; export declare function cleanupTempFile(tempPath: string): void; export declare function fsyncDirectory(directory: string): void; export declare function writeFileAtomic(filePath: string, content: string, options: { tempPath: string; backupPath: string; backupOnWrite: boolean; }): void;