docudb
Version:
Document-based NoSQL database for NodeJS
15 lines • 492 B
TypeScript
/**
* Utility module for file operations
* Contains common functions used in various project modules
*/
/**
* Checks if a file or directory exists
* @param {string} filePath - Path of the file or directory to check
* @returns {Promise<boolean>} - true if it exists, false otherwise
*/
export declare function fileExists(filePath: string): Promise<boolean>;
declare const _default: {
fileExists: typeof fileExists;
};
export default _default;
//# sourceMappingURL=fileUtils.d.ts.map