MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / storage.js

File storage.js

popup/helpers/storage.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const createVariableSaver = (key, defaultValue = null) => ({
2 set: (data) => {
3 localStorage.setItem(key, JSON.stringify(data));
4 },

Callers

nothing calls this directly

Calls 1

createVariableSaverFunction · 0.85

Tested by

no test coverage detected