UNPKG

@stryke/fs

Version:

A package containing various file system utilities that expand the functionality of NodeJs's built-in `fs` module.

18 lines 496 B
//#region src/exists.d.ts /** * Check if a file exists * * @param filePath - The file path to check * @returns An indicator specifying if the file exists */ declare function existsSync(filePath: string): boolean; /** * Check if a file exists * * @param filePath - The file path to check * @returns An indicator specifying if the file exists */ declare function exists(filePath: string): Promise<boolean>; //#endregion export { exists, existsSync }; //# sourceMappingURL=exists.d.cts.map