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

create-vue-design-lab

v0.1.6

Published

Scaffold a Vue-flavored design lab where designers learn HTML/CSS/Vue by typesetting real poster materials.

Readme

Vue Design Lab

A poster-workbench scaffold for designers: drop a .vue file and get a poster, tweak design tokens from a panel that writes straight back to source, export PNG / PDF in one click. The bundled sample materials promote the brand itself — typeset in the official Vue style, you learn HTML / CSS / Vue while making real things.

Quick start

pnpm create vue-design-lab my-lab
# or
npm create vue-design-lab@latest my-lab
cd my-lab
pnpm install
pnpm dev

Open http://localhost:5173 — your material list starts empty; the Templates page has eight branded starters (business card, A4/A5 posters, rollup banner, 16:9 slide, social square / link card / story, plus a blank canvas) ready to materialize into real files.

The three conventions

| Convention | How | | --- | --- | | Add a material | On the Templates page: pick a starter, set size in px or mm + DPI, choose single file or folder — the .vue file is written into src/pages/ for real | | Declare export size | On the page root element: data-export data-export-w="850" data-export-h="2000" (px) | | Tune design tokens | Edit --c-* variables in the top-right panel; live preview, writes back to src/styles/tokens.css |

Keep the look consistent

The visual contract ships with every scaffold as DESIGN.md next to your package.json — feed it to your AI when vibe coding, and new pages keep the same character as the samples: the Vue palette, the type hierarchy, and a list of banned patterns.


Repository layout (for maintainers)

Two packages live in this repo: the workbench library (vue-design-lab, in template/) and the CLI (create-vue-design-lab, at the root) that scaffolds a host app consuming it. Hosts keep only their materials — src/pages/ — plus a four-line main.ts; every shell update flows through the package.

.
├── index.mjs            # create-vue-design-lab CLI (copies host-template, rewrites deps)
├── host-template/       # the host app scaffold: main.ts, tokens.css, vite.config, DESIGN.md
└── template/            # the vue-design-lab library: shell, components, starters, vite plugin
pnpm install     # install the whole workspace from the repo root
pnpm build       # vue-tsc type-check of the library
# develop against a live host:
node index.mjs ../my-lab --lab "link:$(pwd)/template"

Maintaining this repository? The architecture, dev workflow, scaffolder testing, and publishing steps live in DEVELOPMENT.md.