Estimating Available Storage Space | Web | Google Developers
navigator.storage.estimate() gives you insight into your web app's storage constraints.
https://developers.google.com/web/updates/2017/08/estimating-available-storage-space

Seonglae Cho
Seonglae Cho