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

@sketchmark/plugin-wireframe

v0.1.2

Published

Wireframe primitives for Sketchmark. Compiles lightweight wf.* commands into standard Sketchmark nodes and groups.

Readme

@sketchmark/plugin-wireframe

Primitive UI wireframes for Sketchmark.

This plugin keeps the mental model small by compiling a handful of wf.* commands into ordinary Sketchmark groups, text, lines, boxes, and circles. It focuses on reusable primitives, not prebuilt app components.

Install

npm install sketchmark @sketchmark/plugin-wireframe

Usage

import { render } from "sketchmark";
import { wireframe } from "@sketchmark/plugin-wireframe";

render({
  container: document.getElementById("diagram")!,
  dsl: `
diagram layout=row gap=28

wf.screen mobile frame=phone width=390 height=640 items=[hero,form]
wf.panel hero label="Hero" items=[cover,title,body,cta] width=300 height=300
wf.media cover kind=image width=260 height=120
wf.text title kind=heading lines=2 width=220
wf.text body kind=body lines=3 width=240
wf.control cta kind=button label="Continue" width=140

wf.panel form label="Sign In" items=[email,password,remember,submit] width=300 height=240
wf.control email kind=input placeholder="Email"
wf.control password kind=input placeholder="Password"
wf.control remember kind=checkbox label="Remember me"
wf.control submit kind=button label="Sign In"
end
`.trim(),
  plugins: [wireframe()],
});

Supported Commands

  • wf.screen <id> [frame=browser|phone|plain] [items=[...]]
  • wf.panel <id> [items=[...]]
  • wf.text <id> [kind=heading|body|caption|label] [lines=<n>] [label="..."]
  • wf.media <id> [kind=image|avatar|icon]
  • wf.control <id> [kind=button|input|textarea|select|checkbox|radio]
  • wf.divider <id> [orientation=horizontal|vertical] [label="..."]

Notes

  • wf.screen and wf.panel are visible group containers.
  • wf.text can render authored text, or placeholder bars when no label is given.
  • Commands that render authored labels accept label-dx= and label-dy= to nudge those labels without moving the underlying shape or container.
  • wf.control stays generic on purpose so compounds like navbars, forms, and cards can be built from a small primitive set.
  • wf.control kind=checkbox|radio now auto-sizes short labels more tightly and lays them out as compact top-aligned inline rows; use text-width= when you want a wider label area.
  • The plugin works with normal Sketchmark layouts and absolute positioning.