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

@tachui/eslint-plugin

v0.8.5-alpha

Published

ESLint rules for migrating tachUI modifiers to the direct call syntax

Readme

@tachui/eslint-plugin

ESLint rules that help teams migrate to the direct modifier syntax introduced in the Phase 6+ tachUI runtime.

Installation

pnpm add -D @tachui/eslint-plugin eslint

If you rely on the TypeScript parser, ensure @typescript-eslint/parser is already configured in your ESLint setup.

Usage

Update your ESLint configuration to enable the plugin and the prefer-direct-modifiers rule:

{
  "plugins": ["@tachui"],
  "rules": {
    "@tachui/prefer-direct-modifiers": "warn"
  }
}

Rules

prefer-direct-modifiers

  • Purpose: catches legacy .modifier.* chaining and encourages the new direct modifier calls that rely on the component proxy.
  • Fixable: yes – the rule removes the .modifier trigger and preserves optional chaining when present.
  • Typical before/after:
// Before
Text("Hello").modifier.padding(16).backgroundColor("#222")

// After
Text("Hello").padding(16).backgroundColor("#222")

The fixer also understands optional chaining:

maybeComponent?.modifier?.padding(8)
// becomes
maybeComponent?.padding(8)

Oxlint

Oxlint can load the rule through its ESLint compatibility layer. Point oxlint at your existing ESLint config or supply the plugin on the command line:

oxlint --plugin @tachui/eslint-plugin --rule @tachui/prefer-direct-modifiers=warn packages

When you already have an .eslintrc, ensure it lists "plugins": ["@tachui"] and run oxlint --config ./path/to/.eslintrc. The rule will then participate in the same lint step that enforces the rest of your Oxlint policies.

Contributing

  • pnpm --filter @tachui/eslint-plugin test – run the Vitest suite
  • pnpm --filter @tachui/eslint-plugin type-check – strict TypeScript validation
  • pnpm --filter @tachui/eslint-plugin build – generate the distributable output