UNPKG

opfs-worker

Version:

A robust TypeScript library for working with Origin Private File System (OPFS) through Web Workers

12 lines 483 B
import type { OPFSOptions, RemoteOPFSWorker } from './types'; export * from './types'; export * from './utils/errors'; export * from './utils/helpers'; export * from './utils/encoder'; /** * Creates a new file system instance with inline worker * @param options - Optional configuration options * @returns Promise resolving to the file system interface */ export declare function createWorker(options?: OPFSOptions): Promise<RemoteOPFSWorker>; //# sourceMappingURL=index.d.ts.map