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

hiyf-eslint-config

v0.3.0

Published

Lockdown ESLint rules for the @jackbernnie/hiyf AI design protocol — make off-system UI code fail the build.

Downloads

204

Readme

hiyf-eslint-config

The "lockdown" ESLint rules for the @jackbernnie/hiyf AI design protocol. They make off-system UI code fail the build instead of silently shipping — which is what lets you hand a project to an LLM and trust the result.

npm install -D hiyf-eslint-config
// eslint.config.mjs (flat config)
import lockdown from 'hiyf-eslint-config'
export default [...lockdown]

What fails the build:

  • Raw HTML elements (<div>, <span>, <button>, …) — use <Box>/<Text> or a @jackbernnie/hiyf component.
  • Arbitrary Tailwind values (p-[17px], bg-[#abc]) — use a design token.
  • Inline style={{ … }}.
  • Reaching past a wrapper into the raw ui/* layer.
  • Importing any icon library other than the sanctioned one (hugeicons by default).

Every rule has an intentional override path: add the token/variant to the design system, or disable a rule on a single line as a visible, reviewable decision.

Choosing the icon library

Zero-config sanctions hugeicons (shipped with the design system) and blocks every other icon package. To sanction a different one — e.g. when adopting an existing app that already uses a single icon library — use the factory:

import { defineLockdown } from 'hiyf-eslint-config'

export default defineLockdown({ icons: 'lucide' })   // or '@acme/icons'

Now lucide-react is allowed and every other icon library (including hugeicons) fails the build — so icons can't drift across packages. Known keys: hugeicons lucide react-icons heroicons radix-icons tabler phosphor fontawesome feather; or pass any raw package name.

Rule of thumb: if the app already uses one coherent icon package, sanction it. If icons are scattered across many packages, don't adopt the mess — keep the default (hugeicons) and standardize on it.