SvelteUse
A collection of Svelte 5 utilities.
Features
- Feature Rich (not exactly yet, but we're getting there)
- Complete documentation and demos
- Strongly-typed with Typescript
- Supports Svelte and SvelteKit (even with SSR enabled)
Installation
npm install @sv-use/core
For more information and documentation, see the official website.
FAQ
- Aren't there other libraries that do this already ?
Yes there are. However, most of the libraries haven't transitioned to Svelte 5.
- Why use this one instead of
svecosystem/runed
(or other libraries) ?
- I wanted to make a library that had a lot of utilities to the level of vueuse/vueuse and/or streamich/react-use. It's not there yet, but it's slowly growing.
- I'm not a big fan of using the
use
prefix everywhere, especially when other verbs could be more descriptive.
Acknowledgements
Though it's not a 1:1 port, I heavily took inspiration from these libraries to adapt the library for the Svelte ecosystem :