fregante / fregante/webext-options-sync

Use multiple keys once getKeys becomes available

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
157
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Related:

- https://github.com/fregante/webext-storage-cache/issues/50

`webext-options-sync` currently stores everything in a single item, this limits the total amount of data a single instance can store.

I can see this after only ~10KB:

Screenshot 4

By using `getKeys` I could also have a `OptionsSync#get()` method, not just `OptionsSync#getAll()`

It might be a good time to also change serialization method:

- https://github.com/sindresorhus/project-ideas/issues/137

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.