hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a destroy method to Hypercore

qonfluent opened this issue · comments

It would be useful to have a method to destroy all data stored on the user's device related to a given hypercore, freeing up the user's local storage for data they are no longer interested in

Perhaps destroyStorage() would work for a name