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

@funsaized/stet

v0.1.0

Published

Hand-sketched margin marks on live UI

Readme

stet

Hand-sketched annotations for live UI, built for coding agents and developers. Add circles, highlights, arrows, notes, and proofreader marks while your application keeps its controls and layout.

Agent and developer first: work with your coding agent through project skills, validated plans and framework examples, or write annotations directly with the typed JavaScript API. Both workflows use the same primitives and lifecycle.

The API is under active development and may change before 1.0. Pin an exact version if you need predictable upgrades.

The library is called stet; its npm package is @funsaized/stet. Use @funsaized/stet in installation commands and imports.

STET annotating a working release form with pen marks and a paper note

npm install @funsaized/[email protected]

Start with an agent or the API

With your coding agent

Stet ships four Agent Skills, installed-version capability inspection, validated annotation plans, recoverable skill installation, project discovery, and framework/lifecycle examples.

After installing @funsaized/stet, install project skills for your coding agent:

npx stet agent init --tool codex
# Also supports claude, cursor and opencode.

For deterministic automation, use the installed binary directly:

./node_modules/.bin/stet inspect --project . --json
./node_modules/.bin/stet snippet --pattern lifecycle --framework react
./node_modules/.bin/stet validate annotation-plan.json --json

The agent decides what deserves annotation, validates a source-target plan, adapts a framework-correct snippet, then checks the application. Plans are build-time tools and never replace your controls or become runtime selectors. The CLI requires Node.js 20+; browser imports do not load agent infrastructure. See the agent guide for setup, targeting and verification, and actual evaluation results for measured outcomes, retained failures and limitations.

Write the annotations yourself

import { circle } from "@funsaized/stet";
import "@funsaized/stet/style.css";

const save = document.querySelector("#save");
const annotation = circle(save);

The real #save element still owns focus, clicks, semantics, and layout.

import { underline, highlight, arrow, sticky, mark } from "@funsaized/stet";

underline(heading);
highlight(phrase); // follows wrapped text, including paragraphs
arrow(source, destination, { label: "start here" });
sticky(save, { text: "Ready to ship." });
mark(answer, "right", { description: "Correct answer" });

annotation.refresh();  // follow a layout change, keep the same sketch
annotation.resketch(); // draw a new variation
annotation.destroy(); // remove the annotation and its subscriptions

Still by default. Seeded when you need repeatability. Optional hover resketching and stroke boil honor reduced-motion preferences.

To explore locally: npm install, then python -m http.server 4173 and open the live demo or the visual specimens.

Dependencies and framework support

Zero-dependency core, with optional framework adapters. The core uses browser DOM, SVG, and CSS APIs, with its own sketch geometry and seeded randomness.

React components, Angular directives, Vue directives, and Svelte actions wrap the same core functions, handling attachment, updates, and cleanup through their framework's lifecycle. Import the adapter you need from @funsaized/stet/react, @funsaized/stet/angular, @funsaized/stet/vue, or @funsaized/stet/svelte. Importing @funsaized/stet alone does not load any framework adapter.

React, Angular, and Vue are optional peer dependencies supplied by your app; installing stet does not install those frameworks. React and Angular adapters use their frameworks at runtime. The Vue adapter imports only Vue types, and the Svelte adapter has no Svelte runtime import. Build and test tools are development dependencies and are not installed as dependencies in your app.

Documentation

Supports vanilla JavaScript, React, Vue, Svelte, and Angular. MIT licensed.