Storage & Files APIs
Explore and learn about 8 JavaScript APIs in the Storage & Files category.
Cookie Store API
Modern asynchronous API for managing cookies. Perfect for handling cookies without blocking the event loop, with better error handling and service worker support.
File
Access files and their contents in web applications. Perfect for file uploads, reading file contents, and handling binary data.
File System
Access and manage files and directories on the user's device. Perfect for file reading, writing, and directory operations.
File Directory Entries
Access files and directories in the user's file system.
IndexedDB
Store and retrieve large amounts of structured data on the client side. Perfect for offline applications and data-intensive web apps.
Storage API
The Storage API provides a way to find out how much storage space is available for a site, how much is being used, and to request persistent storage that won't be automatically cleared.
Storage Access API
The Storage Access API allows embedded content to check if it has access to its unpartitioned cookies and request access if needed. This is particularly useful for third-party content that needs to maintain state across different sites.
Web Storage
Store data in the browser with the Web Storage API. Learn to use localStorage and sessionStorage for client-side data persistence.