@sv-use/core
TypeScript icon, indicating that this package has built-in type declarations

1.15.1 • Public • Published

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

  1. Aren't there other libraries that do this already ?
    Yes there are. However, most of the libraries haven't transitioned to Svelte 5.
  2. Why use this one instead of svecosystem/runed (or other libraries) ?
    1. 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.
    2. 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 :

Package Sidebar

Install

npm i @sv-use/core

Weekly Downloads

224

Version

1.15.1

License

MIT

Unpacked Size

165 kB

Total Files

117

Last publish

Collaborators

  • novaotp