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

@profpowell/border-wc

v0.2.0

Published

Light-DOM web component for high-touch border effects (squiggle, draw, sparks) the platform under-serves.

Readme

<border-wc>

CI License: MIT

Live site → — try the playground, read the API, or browse themed demos.

A light-DOM web component for high-touch border effects — thirty-two of them, from conic-gradient auroras and chromatic-aberration outlines to neon glow, chase-light marquees, ASCII boxes, barbed wire, and psychedelic rainbows — the kind of decorative borders that pure CSS can't pull off (and a few that finally can, thanks to @property, mask-composite, and offset-path). It pairs with vanilla-breeze's CSS-tier data-border-effect (spin / pulse / march): use the CSS tier for cheap, always-on motion, and reach for <border-wc> when you need SVG- or composited-CSS-driven effects. It reads your design tokens (CSS custom properties) so borders stay on-brand without extra config.

Install

npm install @profpowell/border-wc

Usage

<script type="module" src="https://unpkg.com/@profpowell/border-wc"></script>
<border-wc effect="squiggle" color="var(--ink)" animate>
  <blockquote>The shape around the thing is the thing.</blockquote>
</border-wc>

Attributes

| Attribute | Description | | ----------- | ---------------------------------------------------------------------------------------------------- | | effect | One of: aurora, barber, chroma, wings, ants, lightning, neon, glitch, hud, ascii, stitching, typewriter, barbed-wire, rope, scallop, scoop, zigzag, wave, deco, memphis, opart, psychedelic, plasma, gooey, sparks, marquee, washi, filmstrip, ticket, bunting, squiggle, draw. | | color | Stroke/particle color (any CSS color; defaults to currentColor). | | thickness | Stroke width in px. | | speed | Animation duration in ms. | | radius | Corner radius in px (falls back to the host's computed border-radius). | | animate | Boolean; when present, plays the entrance/loop animation. | | mode | Effect-specific placement mode (e.g. center). | | motion | auto | reduce | force — overrides prefers-reduced-motion: reduce forces static, force forces animation, auto (default) honors the media query. |

Each attribute can also be set via a matching --border-wc-* CSS custom property (e.g. --border-wc-color), which takes precedence over the attribute.

Attribute binder (no wrapper)

Opt in once and annotate any element — no <border-wc> wrapper needed:

<script type="module" src="https://unpkg.com/@profpowell/border-wc/attr"></script>
<article data-border-effect="squiggle">…</article>

The binder applies the extreme effects (all thirty-two) directly to the element and watches the DOM for added/changed/removed nodes. Base values (spin, pulse, march, …) are owned by vanilla-breeze's CSS and ignored here. Params come from --border-wc-* custom properties (same knobs as the component).

The module auto-scans on import. For programmatic control it also exports bindBorderEffects(root = document) (scan a subtree on demand) and stopWatching() (stop observing future DOM changes).

Part of the "Decorated Layers" family alongside vanilla-breeze and bg-wc.

License

MIT