https://github.com/svelte-librarian/sv-use
A collection of Svelte 5 utilities.
https://github.com/svelte-librarian/sv-use
svelte svelte-5 svelte-5-utilities svelte-utilities sveltekit typescript
Last synced: 2 months ago
JSON representation
A collection of Svelte 5 utilities.
- Host: GitHub
- URL: https://github.com/svelte-librarian/sv-use
- Owner: svelte-librarian
- License: mit
- Created: 2024-12-16T13:19:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T00:19:29.000Z (3 months ago)
- Last Synced: 2025-04-25T11:47:02.555Z (2 months ago)
- Topics: svelte, svelte-5, svelte-5-utilities, svelte-utilities, sveltekit, typescript
- Language: TypeScript
- Homepage: https://www.sv-use.org
- Size: 1.33 MB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
npm install @sv-use/core
```For more information and documentation, see the [official website](https://svelte-librarian.github.io/sv-use).
## FAQ
1. Aren't there other libraries that do this already ?
Yes there are. However, most of the libraries haven't transitioned to Svelte 5.
1. Why use this one instead of [`svecosystem/runed`](https://github.com/svecosystem/runed) (or other libraries) ?
1. I wanted to make a library that had a lot of utilities to the level of [vueuse/vueuse](https://github.com/vueuse/vueuse) and/or [streamich/react-use](https://github.com/streamich/react-use). It's not there yet, but it's slowly growing.
1. 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 :
- [vueuse/vueuse](https://github.com/vueuse/vueuse)
- [streamich/react-use](https://github.com/streamich/react-use)
- [svecosystem/runed](https://github.com/svecosystem/runed)