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

@visquill/visquill-gdk

v1.0.0-alpha.1

Published

VisQuill Graphics Development Kit — build interactive, animated, and reactive data visualizations

Readme

VisQuill GDK

The Graphics Development Kit for building interactive, animated, and reactive data visualizations in the browser.

VisQuill is built around a reactive model: visual elements are bound to data values and update automatically when those values change. Instead of manually synchronizing data and DOM, you declare what depends on what — VisQuill handles the rest.

Live examples: visquill.com/developers/lab


Installation

Alpha release — install with the @alpha tag. The API may change between versions.

npm install @visquill/visquill-gdk@alpha

Quick start

import { VisQuill, Attach, Reactive } from "@visquill/visquill-gdk"

const container = document.getElementById("viz") as HTMLDivElement
const rvg = VisQuill.create(container, "my-viz-")
const canvas = rvg.canvas

// Create a draggable handle and a label that follows it
const handle = canvas.handles.disk("handle", { x: 200, y: 200 })
const label = canvas.text.label("drag me", "label")

Attach.pointToPoint(label, handle, { offset: [0, -20] })

CSS classes are assembled automatically from the prefix chain:

graphic prefix   +   layer prefix   +   class name you pass in
"my-viz-"            ""                 "handle"
                                        ──────────────────────►
                                        → "my-viz-handle"

Your stylesheet only needs the fully-qualified class name.


Core concepts

Creating a graphic

const rvg = VisQuill.create(div, "prefix-")

Creates an SVG element inside div and returns a reactive graphics context (Rvg). The prefix is prepended to every CSS class name generated within this graphic.

Layers

const canvas = rvg.canvas
const layer = canvas.layer("chart-")

Layers are nested groups with their own class prefix. The full class on an element is built by concatenating all prefixes in the chain.

Reactive values

Reactive.do([handle], () => {
    label.value = `x = ${Math.round(handle.x)}`
})

Reactive.do registers a callback that fires whenever any listed dependency changes. Dependencies can be handles, shapes, or any reactive value.

Animation

Animate.eased(value, targetValue, 600, { easing: Animate.easeOutCubic })
Animate.follow(point, targetPoint)
Animate.sequence(value, [
    { to: 100, duration: 400 },
    { to: 0,   duration: 400 }
], { loop: true })

Starting a new animation on the same reference automatically cancels the previous one.

Attach

Attach methods create persistent reactive bindings without requiring a Reactive.do block:

Attach.pointToPoint(label, handle, { offset: [0, -20] })
Attach.pointToSegment(dot, segment, { ratio: 0.5 })
Attach.rectangleToSegment(rect, segment, { height: 40 })

Cleanup

rvg.dispose()
// or
VisQuill.disposeAll()

Call this before unmounting or navigating away to release all graphics and event listeners.


License

See LICENSE.