-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
For testing purposes, I need to reset the values set by ImmortalDB. Currently I am doing the following to achieve this, but it would be great if the library offered this functionality:
const clearStorage = () => Promise.all(
Object.keys(localStorage)
.filter(key => key.startsWith('_immortal'))
.map(key => ImmortalDB.remove(key.replace('_immortal|', '')))
);acoyfellow
Metadata
Metadata
Assignees
Labels
No labels