npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dimaslz/svelteuse

v0.0.2

Published

Svelte hooks like React

Downloads

156

Readme

SvelteUse

List of hooks inspired on https://usehooks.com, https://usehooks-ts.com and https://vueuse.org.

Current version: v0.0.2

[!NOTE] Hey!! Do you like this library? Do you find it useful? Are you using it for a personal project or at your company? Please let me know. This project started out as a learning exercise, but if you find it useful, please give it a star to keep me motivated to release future updates.

Thanks! 🙋‍♂️

Table of versions

| svelteuse version | based on | | ---- | ---- | | 0.0.1 | >4.2 | | 0.0.2 (latest) | >4.2 |

Installation

npm

npm install @dimaslz/svelteuse

pnpm

pnpm add @dimaslz/svelteuse

yarn

yarn add @dimaslz/svelteuse

bun

bun add @dimaslz/svelteuse

TODO (hooks)

This list is orientative, let's try to get all 👨‍💻.

  • [ ] useReducer
  • [ ] useTimestamp (https://vueuse.org/core/useTimestamp/)
  • [ ] useNetwork (https://vueuse.org/core/useNetwork/, https://usehooks.com/usenetworkstate)
  • [ ] useRenderInfo (https://usehooks.com/userenderinfo)
  • [ ] useRenderCount (https://usehooks.com/userendercount)
  • [ ] useIsFirstRender (https://usehooks-ts.com/react-hook/use-is-first-render, https://usehooks.com/useisfirstrender)
  • [ ] useDefault (https://usehooks.com/usedefault)
  • [ ] useLockBodyScroll (https://usehooks.com/uselockbodyscroll, https://usehooks-ts.com/react-hook/use-locked-body)
  • [ ] useQueue (https://usehooks.com/usequeue)
  • [ ] useKeyPress (https://usehooks.com/usekeypress)
  • [ ] useTimeoutPoll (https://vueuse.org/core/useTimeoutPoll/, )
  • [ ] useSet (https://usehooks.com/useset, https://vueuse.org/shared/set/)
  • [ ] useDebouncedHistory (https://vueuse.org/core/useDebouncedRefHistory/)
  • [ ] useManualHistory (https://vueuse.org/core/useManualRefHistory/)
  • [ ] usePageLeave (https://usehooks.com/usepageleave, https://vueuse.org/core/usePageLeave/)
  • [ ] isMounted (https://usehooks-ts.com/react-hook/use-is-mounted)
  • [ ] useFullScreen (https://vueuse.org/core/useFullscreen/)
  • [ ] useSsr (https://usehooks-ts.com/react-hook/use-ssr)
  • [ ] useTernaryDarkMode (https://usehooks-ts.com/react-hook/use-ternary-dark-mode)
  • [ ] useLastChanged (https://vueuse.org/shared/useLastChanged/)
  • [ ] useActiveElement (https://vueuse.org/core/useActiveElement/)
  • [ ] useDraggable (https://vueuse.org/core/useDraggable/)
  • [ ] useDropZone (https://vueuse.org/core/useDropZone/)
  • [ ] useElementBounding (https://vueuse.org/core/useElementBounding/)
  • [ ] useElementVisibility (https://vueuse.org/core/useElementVisibility/)
  • [ ] useMutationObserver (https://vueuse.org/core/useMutationObserver/)
  • [ ] useParentElement (https://vueuse.org/core/useParentElement/)
  • [ ] useBreakpoints (https://vueuse.org/core/useBreakpoints/)
  • [ ] useBroadcastChannel (https://vueuse.org/core/useBroadcastChannel/)
  • [ ] useColorMode (https://vueuse.org/core/useColorMode/)
  • [ ] useCssVar (https://vueuse.org/core/useCssVar/)
  • [ ] useEyeDropper (https://vueuse.org/core/useEyeDropper/)
  • [ ] useFileDialog (https://vueuse.org/core/useFileDialog/)
  • [ ] useFileSystemAccess (https://vueuse.org/core/useFileSystemAccess/)
  • [ ] useMediaControls (https://vueuse.org/core/useMediaControls/)
  • [ ] useMemory (https://vueuse.org/core/useMemory/)
  • [ ] useObjectUrl (https://vueuse.org/core/useObjectUrl/)
  • [ ] usePerformanceObserver (https://vueuse.org/core/usePerformanceObserver/)
  • [ ] usePermission (https://vueuse.org/core/usePermission/)
  • [ ] usePreferredColorScheme (https://vueuse.org/core/usePreferredColorScheme/)
  • [ ] usePreferredContrast (https://vueuse.org/core/usePreferredContrast/)
  • [ ] usePreferredReducedMotion (https://vueuse.org/core/usePreferredReducedMotion/)
  • [ ] useStyleTag (https://vueuse.org/core/useStyleTag/)
  • [ ] useTextareaAutosize (https://vueuse.org/core/useTextareaAutosize/)
  • [ ] useTextDirection (https://vueuse.org/core/useTextDirection/)
  • [ ] useWakeLock (https://vueuse.org/core/useWakeLock/)
  • [ ] useWebNotification (https://vueuse.org/core/useWebNotification/)
  • [ ] onStartTyping (https://vueuse.org/core/onStartTyping/)
  • [ ] useFocus (https://vueuse.org/core/useFocus/)
  • [ ] useFocusWithin (https://vueuse.org/core/useFocusWithin/)
  • [ ] useInfiniteScroll (https://vueuse.org/core/useInfiniteScroll/)
  • [ ] useKeyModifier (https://vueuse.org/core/useKeyModifier/)
  • [ ] useMagicKeys (https://vueuse.org/core/useMagicKeys/)
  • [ ] useMouse (https://vueuse.org/core/useMouse/)
  • [ ] useMousePressed (https://vueuse.org/core/useMousePressed/)
  • [ ] useNavigatorLanguage (https://vueuse.org/core/useNavigatorLanguage/)
  • [ ] useOnline (https://vueuse.org/core/useOnline/)
  • [ ] usePointer (https://vueuse.org/core/usePointer/)
  • [ ] usePointerLock (https://vueuse.org/core/usePointerLock/)
  • [ ] usePointerSwipe (https://vueuse.org/core/usePointerSwipe/)
  • [ ] useSpeechRecognition (https://vueuse.org/core/useSpeechRecognition/)
  • [ ] useSpeechSynthesis (https://vueuse.org/core/useSpeechSynthesis/)
  • [ ] useSwipe (https://vueuse.org/core/useSwipe/)
  • [ ] useUserMedia (https://vueuse.org/core/useUserMedia/)
  • [ ] useWebSocket (https://vueuse.org/core/useWebSocket/)

TOOD (project)

  • [ ] Generate version from CI
  • [ ] Changelog
  • [ ] Release
  • [ ] Documentation by version

Author

{
	"name": "Dimas López Zurita",
	"role": "Software Engineer",
	"alias": "dimaslz",
	"linkedin": "https://www.linkedin.com/in/dimaslopezzurita",
	"github": "https://github.com/dimaslz",
	"twitter": "https://twitter.com/dimaslz",
	"tags": "tooling, docker, tailwindcss, vue, SAAS, nodejs+express"
}

My other projects