A writable derived store for objects and arrays
The svelte-keyed package is a writable derived store for objects and arrays. It provides a solution to common limitations in working with Svelte auto-subscriptions, allowing for easier management of object store properties and the extraction of functionality into external helper functions.
To install svelte-keyed, you can use npm. Since Svelte automatically bundles all required dependencies, you only need to install this package as a dev dependency with the -D flag.
npm install svelte-keyed -D
svelte-keyed is a package that enhances the functionality of Svelte auto-subscriptions by providing a writable derived store for objects and arrays. It solves common limitations, such as setting store properties into component context and extracting functionality into helper functions. With TypeScript support and nullable parent stores, svelte-keyed offers a comprehensive solution for managing and manipulating Svelte stores.