Skip to content

Remove from all storage types by regex #7

@sashberd

Description

@sashberd

First of all, Great library. Thanks

I faced with need that for example I need to remove all key, which starts with "payment"
For this I used next code cookies.remove(cookies.keys().filter((key) => key.startsWith('payment')));
But it is not efficient one... Why not to use this one with regex in you library?
For your discretion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions