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

@sveltesentio/query

v0.6.0

Published

TanStack Query wrappers for SvelteKit — load helpers, optimistic updates, SSR hydration

Readme

@sveltesentio/query

TanStack Query v6 wrappers — load helpers, optimistic updates, SSR hydration

Part of the sveltesentio composable SvelteKit framework.

Status

✅ v0.4.0 — createQueryClient (RFC 9457-aware retry on ProblemError), serverPrefetch + HydrationBoundary (SSR load→dehydrate→hydrate, no refetch flash), createInfiniteItems (cursor pagination), useOptimistic (RFC 9457 rollback), createSentioQuery / createSentioMutation. Client-agnostic — every resolver is a plain async fn, so it composes with any openapi-fetch-shaped client.

Reactive query keys

createSentioQuery, createInfiniteItems and useConnectQuery accept either a plain options object or an accessor (() => ({...})). Pass the accessor form when queryKey derives from $state (a sort filter, route param, search box) so the key is re-read on every evaluation and TanStack refetches on change; the plain-object form freezes the key at call time (static keys only).

<script lang="ts">
  let sortBy = $state('added');
  // accessor form → re-reads sortBy, refetches when it changes
  const q = createSentioQuery(() => ({
    queryKey: ['movies', 'list', sortBy],
    queryFn: () => listMovies({ order_by: sortBy }),
  }));
</script>

The ConnectRPC bridge lives behind the ./connect subpath only, so the package index stays free of the optional @connectrpc/connect + @bufbuild/protobuf peers (an openapi-fetch app can import the index without them).

Sub-exports

. · ./query-client · ./query · ./hydration · ./infinite · ./mutation · ./connect

Installation

pnpm add @sveltesentio/query

See the monorepo README and docs/ for design principles and usage.

License

EUPL-1.2 © lusoris. Releases up to and including 0.3.0 are MIT.