UNPKG

opfs-tools

Version:

EN: A simple, high-performance, and comprehensive file system API running in the browser, built on [OPFS](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system).

14 lines (13 loc) 500 B
import { OPFSFileWrap } from './file'; export declare function delByInterval(): void; export declare function delMarkFiles(): Promise<void>; declare global { namespace globalThis { var __opfs_tools_tmpfile_init__: boolean; } } /** * Create a temporary file that will automatically be cleared to avoid occupying too much storage space. * The temporary file name will be automatically generated and stored in a specific directory. */ export declare function tmpfile(): OPFSFileWrap;