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

kitto

v1.16.1

Published

A unique blend of tree-shakeable items for any web expedition

Downloads

3,808

Readme

Hero

Hello 👋,

The purpose of this repo is to create a single point of access for all those little helpers, tools and utilities that you have on all your projects.

Structure

The structure is super simple, there is a main import at the root of lib that pulls in the namespaces, those in turn have their own indice which import the modules themselves.

Each module is a single exported function or micro api, please continue this way as it makes things easy to reason about and keeps individual modules small.

The aim with this approach is to have small files that do one thing well.

Design overlay

Mount Overlay while developing to compare a page with design images:

<script>
	import { Overlay } from 'kitto/svelte'
</script>

<Overlay srcset="/design-d.jpg 1920w, /design-t.jpg 1024w, /design-m.jpg 393w" />

The familiar srcset syntax lists each image's intended design width in CSS pixels. The overlay picks the nearest width to the viewport (ties favour the larger design), centres it, and displays it at that exact width without scaling. This selection is independent of device pixel density. Use positive integer w descriptors and encode spaces or commas within URLs; density descriptors are unsupported.

Open the bottom-right Overlay panel to show the image, adjust opacity, select a design manually, or change its X/Y offsets using numeric inputs. The inline Step selector sets their steppers to 1px or 10px. Positive offsets move right/down. The header displays the viewport dimensions. Drag it with a mouse or touch to move the panel; click it to expand or collapse. Its position is remembered and kept within the viewport as you resize. With the header focused, arrow keys move the panel and Home restores its bottom-right position. The panel uses Milieu light/dark colors based on your system preference, with Geist/Geist Mono font stacks and system fallbacks. Expanding and collapsing uses a short Svelte slide transition, disabled when reduced motion is requested. Each design width remembers its own offsets. Reset clears all adjustments and restores the bottom-right position, collapsed panel, automatic source selection, 50% opacity, and 1px step. It preserves whether the overlay image is enabled. The keyboard icon highlights while shortcut help is open.

Settings persist locally across reloads, separately for each pathname and source configuration. Reordering a srcset does not discard settings. When storage is unavailable, controls still work for the current mount. There is no offsets prop; adjustments are made through the panel or keyboard.

| Shortcut | Action | | ------------------------------ | ------------------------------------- | | 1–9 | Show image at 10–90% opacity | | 0 / double 0 | Show at 100% / hide | | Shift + arrows | Move the active design by 10px | | Ctrl + Shift + arrows | Move by 1px | | Shift + Alt + ↑ | Reset the active design's X/Y offsets | | Shift + ↑ and ↓ together | Reset the active design's X/Y offsets |

Shortcuts are ignored while editing inputs. The image follows document scrolling and never intercepts page interactions or adds scrollbars. Only one overlay per page is supported; the consuming application controls development-only mounting (for example, using SvelteKit's dev flag).

Existing <Overlay desktop="/design-d.jpg@1920" mobile="/design-m.jpg@393" /> usage still works, including its 640px breakpoint and default widths of 1920/393px. A lone legacy image is reused at both breakpoints. When both APIs are supplied, srcset takes precedence. Old global overlay settings are not migrated.

Effects

kitto/effects is a Svelte 5 port of Jakub Antalik's Libraries.dev (MIT). Prop names, presets and defaults match upstream, so configurations copied from the libraries.dev playground drop straight in.

| Component | Upstream | What it does | | ----------------------------------------- | --------------- | ------------------------------------------------------------- | | BorderBeam | border-beam | A glow that rides the border of a card, button or input | | ThinkingOrb | thinking-orbs | Dotted orbs for loading states in AI interfaces | | BotAvatar | bot-avatars | Animated bot avatars with living faces | | Liquid / Liquid.Item | liquid-gooey | Pieces that merge like goo and morph like jelly | | VoiceBeam | voice-glow | A glow that rises with your voice (use_microphone included) | | MetalFx, MetalText, MetalBadge | metal-fx | Liquid metal rings, buttons, text and badges | | ImageGeneration (kitto/effects/image) | img-fx | A WebGL pixel mosaic that settles into the image |

<script>
	import { BorderBeam } from 'kitto/effects'
</script>

<BorderBeam>
	<button>Get started</button>
</BorderBeam>

React-only details map to Svelte: className is class, children is a snippet, forwarded refs are bind:element, and hooks are runes functions or attachments. ImageGeneration needs three (an optional peer dependency), so it lives in its own kitto/effects/image entry. Each effect has a demo under /effects/<name> in the dev server. The metal shader is Paper Shaders' liquidMetal, vendored unmodified under Apache-2.0; see src/lib/effects/metal/NOTICE.md.

Open to contributions, ideas and feedback, oh plus bugs of course 🤓

Documentation available here