UNPKG

@stryke/fs

Version:

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

13 lines (12 loc) 353 B
/** * Remove the given content to the given file path * * @param filePath - The file path to remove to */ export declare const removeFileSync: (filePath: string) => void; /** * Remove the given content to the given file path * * @param filePath - The file path to read to */ export declare const removeFile: (filePath: string) => Promise<void>;