svelte-persistent-store
svelte-persistent-store copied to clipboard
Persist your svelte store in localStorage or sessionStorage
I'd like to save data in local storage unless that data is NaN or undefined. Is there a way to do that? I realise this might be a Svelte rather...
It seems that null does not survive a roundtrip, probably due to not using `x: string | null`.
There's a package on github called [svelte-writable-derived](https://github.com/PixievoltNo1/svelte-writable-derived/) which allows one to make a derived store to which you can also write. I would love to have both of these packages...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [flat](https://github.com/hughsk/flat) from 4.1.0 to 5.0.2. Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh lockfile, format with standard. e52185d Test against node 14 in CI. 0189cb1 Avoid arrow function syntax....