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

@birdapi/velinstyle

v0.9.0

Published

WCAG 2.2 AAA CSS + Web Components: OKLCH themes, PII scanner, perf CLI, runtime tree-shaking. Ship inclusive UI faster.

Readme

██╗   ██╗███████╗██╗     ██╗███╗   ██╗███████╗████████╗██╗  ██╗██╗     ███████╗
██║   ██║██╔════╝██║     ██║████╗  ██║██╔════╝╚══██╔══╝██║  ██║██║     ██╔════╝
██║   ██║█████╗  ██║     ██║██╔██╗ ██║███████╗   ██║   ███████║██║     █████╗
╚██╗ ██╔╝██╔══╝  ██║     ██║██║╚██╗██║╚════██║   ██║   ██╔══██║██║     ██╔══╝
 ╚████╔╝ ███████╗███████╗██║██║ ╚████║███████║   ██║   ██║  ██║███████╗███████╗
  ╚═══╝  ╚══════╝╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚══════╝╚══════╝

License: MIT Release npm version WCAG 2.2 AAA GitHub stars PRs Welcome

npm i @birdapi/velinstyle

Website · Docs · Demos · npm · Star on GitHub

English · Deutsch


VelinStyle is the WCAG 2.2 AAA CSS framework with native JavaScript runtime and Web Components — CSS utilities, 0.9.0 modules (search, motion, highlight, attributes, meta), and security tooling, with no external UI framework dependencies in the core.

Built for teams who want readable HTML, AAA token defaults (AA via data-velin-contrast="aa"), and CLI automation instead of utility sprawl.

Dogfooding: The entire VelinStyle website and documentation runs 100% on VelinStyle — no external scripts or UI frameworks.


Features at a glance

  • CSS utilitiesvelin-* spacing, color, flex, motion, safe-area; cascade layers + OKLCH tokens
  • 35+ components — semantic BEM classes (velin-btn, velin-card, velin-grid, …)
  • Motion runtime — reveal, stagger, scroll-driven animation, rAF scheduler
  • VelinSearch — fuzzy offline search with highlighting and categories
  • Syntax highlighting — lazy in-view highlighting for JS, HTML, CSS, JSON, and more
  • HTML attributes — 27 declarative bridges (velin-modal, velin-reveal, velin-scroll-top, velin-code, …)
  • Quality — 36/36 component a11y contracts, Playwright cross-browser smoke (npm run test:e2e), CLS placeholders (wc-placeholder.css)
  • Security toolsscan, PII rules, sanitize API, hardened components
  • CLI — init, build, scan, scaffold, tokens, docs generate, perf audit, layout audit
  • Velin-Metavelin-agent.json, llms.txt, and page-level agent JSON for AI assistants

Installation

npm i @birdapi/velinstyle

| Path | Use | | --- | --- | | @birdapi/velinstyle/css | Full minified stylesheet | | @birdapi/velinstyle/bundle | Web Components ESM bundle | | @birdapi/velinstyle/search | VelinSearch module | | @birdapi/velinstyle/motion | Motion runtime | | @birdapi/velinstyle/attributes | HTML attribute bridges | | @birdapi/velinstyle/highlight | Syntax highlighting | | @birdapi/velinstyle/meta | Agent metadata API |

CDN (pin version):

<link rel="stylesheet" href="https://unpkg.com/@birdapi/[email protected]/dist/velinstyle.min.css">
<script type="module" src="https://unpkg.com/@birdapi/[email protected]/dist/velinstyle-components.min.js"></script>

After cloning, run npm install && npm run builddist/ is generated, not committed.


Quickstart

<!DOCTYPE html>
<html lang="en" data-velin-theme="ocean">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://unpkg.com/@birdapi/[email protected]/dist/velinstyle.min.css">
  <script type="module" src="https://unpkg.com/@birdapi/[email protected]/dist/velinstyle-components.min.js"></script>
</head>
<body class="velin-p-6">
  <button type="button" class="velin-btn velin-btn--primary" velin-reveal="slide-up">Ship it</button>
  <velin-code-block language="html" line-numbers>&lt;p class="velin-text-muted"&gt;Hello VelinStyle&lt;/p&gt;</velin-code-block>
</body>
</html>

Core modules (0.9.0)

| Export | Description | | --- | --- | | @birdapi/velinstyle/search | Fuzzy offline search, providers, optional Web Worker | | @birdapi/velinstyle/motion | initMotion, stagger, smooth scroll, unified .velin-in-view | | @birdapi/velinstyle/attributes | Registry of declarative velin-* HTML attribute bridges | | @birdapi/velinstyle/highlight | velinSyntax, lazy language packs, OKLCH token colors | | @birdapi/velinstyle/meta | buildAgentBundle, page meta MIME application/vnd.velinstyle.meta+json |


Web Components

36 canonical custom elements (38 lazy-loader entries including legacy velin-tooltip-wc and velin-stepper-wc) — use plain CSS when you do not need behavior. src/base/wc-placeholder.css reduces layout shift before elements upgrade.

Examples: velin-modal, velin-search, velin-code-block, velin-drawer, velin-stepper, velin-tooltip, velin-toast, velin-persist.


CLI

| Command | Purpose | | --- | --- | | npx velinstyle init | Create velinstyle.config.js in your project | | npx velinstyle scan | Security, accessibility, CSS, and PII checks | | npx velinstyle search index | Build dist/search-index.json for offline doc search | | npx velinstyle tokens build | Compile design tokens JSON to CSS | | npx velinstyle meta | Generate velin-agent.json and llms.txt |

Also: npx velinstyle docs generate — Markdown reference under docs/generated/.


Security

VelinStyle ships first-class security tooling, not an afterthought:

  • velinstyle scan — markup and a11y rules; PII scanner (--only pii, --fix)
  • @birdapi/velinstyle/sanitize — URL and text sanitization helpers
  • <velin-secure-field> — no plaintext secrets in the DOM; hardened search/copy URLs

Security documentation


Velin-Meta

Machine-readable context for Cursor, Copilot, and custom agents:

  • Global bundledist/velin-agent.json + dist/llms.txt via velinstyle meta
  • Page-level meta<script type="application/vnd.velinstyle.meta+json" id="velin-meta">
  • CLIvelinstyle meta page my.html --write

Velin-Meta guide


Docs & website


Changelog

See CHANGELOG.md for releases, breaking changes, and migration notes.


Comparison

| | Bootstrap | Tailwind | Shoelace | VelinStyle | | --- | :---: | :---: | :---: | :---: | | HTML readability | Medium | Low | Medium | High | | Class predictability | Medium | Low | Medium | velin-btn--primary | | Utility sprawl | Low | High | Low | Controlled | | Override story | Hard | Config file | Shadow DOM | CSS layers + tokens | | Accessibility | Partial | DIY | Good WC | WCAG 2.2 AAA tokens | | Dark mode | Manual | dark: everywhere | Theme attr | Token swap | | App chrome | Legacy JS | BYO | WC only | CSS + optional WCs | | Ship speed | Fast | Fast (with build) | Fast | CDN, no build required | | Runtime modules | — | — | — | Search, motion, meta, … |


Live demos

Full application pages on velinstyle.info/demos/Crypto · E-Commerce · Dashboard · All demos · Fork showcase-demos


Contributing

PRs welcome.

  1. Fork the repo
  2. npm install && npm run build
  3. Make your change · run npm test, npm run test:a11y, and npm run test:e2e (after npm run build)
  4. Open a pull request

See CONTRIBUTING.md for code style and review process.


License

MIT — Copyright © 2026 VelinStyle

Made with care for the web by SkyliteDesign