Quota Estimation API
Overview
Quota Estimation API allows web apps to query the system for the size of storage space in bytes currently used and available for the app.
Demo
https://nectar.website/demo/web-apis/quota-estimation/
Usage
You can refer to the code present in /partials/web-apis/quota-estimation.html
file and use it accordingly.
Reference
https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/estimate
Last updated