# browsingData
Documentation: [Chrome Browsing Data API](https://developer.chrome.com/docs/extensions/reference/browsingData)
A promise-based wrapper for the Chrome `browsingData` API.
## Methods
- [removeBrowsingData(options, dataToRemove)](#removeBrowsingData)
- [removeAppcacheData(options?)](#removeAppcacheData)
- [removeCacheData(options?)](#removeCacheData)
- [removeCacheStorageData(options?)](#removeCacheStorageData)
- [removeCookiesData(options?)](#removeCookiesData)
- [removeDownloadsData(options?)](#removeDownloadsData)
- [removeFileSystemsData(options?)](#removeFileSystemsData)
- [removeFormData(options?)](#removeFormData)
- [removeHistoryData(options?)](#removeHistoryData)
- [removeIndexedDBData(options?)](#removeIndexedDBData)
- [removeLocalStorageData(options?)](#removeLocalStorageData)
- [removePasswordsData(options?)](#removePasswordsData)
- [removeServiceWorkersData(options?)](#removeServiceWorkersData)
- [removeWebSQLData(options?)](#removeWebSQLData)
- [getBrowsingDataSettings()](#getBrowsingDataSettings)
---
### removeBrowsingData
```
removeBrowsingData(options: chrome.browsingData.RemovalOptions, dataToRemove: chrome.browsingData.DataTypeSet): Promise
```
Clears the specified types of browsing data within the given time range.
### removeAppcacheData
```
removeAppcacheData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears the application cache.
### removeCacheData
```
removeCacheData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears the browser cache.
### removeCacheStorageData
```
removeCacheStorageData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears Cache Storage.
### removeCookiesData
```
removeCookiesData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears all cookies.
### removeDownloadsData
```
removeDownloadsData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears download history.
### removeFileSystemsData
```
removeFileSystemsData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears file system data.
### removeFormData
```
removeFormData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears data entered into forms.
### removeHistoryData
```
removeHistoryData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears browsing history.
### removeIndexedDBData
```
removeIndexedDBData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears IndexedDB data.
### removeLocalStorageData
```
removeLocalStorageData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears Local Storage data.
### removePasswordsData
```
removePasswordsData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears saved passwords.
### removeServiceWorkersData
```
removeServiceWorkersData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears Service Worker registrations.
### removeWebSQLData
```
removeWebSQLData(options?: chrome.browsingData.RemovalOptions): Promise
```
Clears WebSQL data.
### getBrowsingDataSettings
```
getBrowsingDataSettings(): Promise
```
Retrieves the current browsing data removal settings.