Interface StorageManager

    Available only in secure contexts.

    MDN Reference

    interface StorageManager {
        estimate(): Promise<StorageEstimate>;
        getDirectory(): Promise<FileSystemDirectoryHandle>;
        persisted(): Promise<boolean>;
    }

    Methods