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

eslint-tek

v0.3.0

Published

Run one ESLint rule exactly as your config defines it — fast.

Readme

eslint-tek

CI npm version

Run a single ESLint rule across your codebase — exactly as your config defines it. Fast.

tek (Turkish) = single, one. That's the idea: one rule, full speed.

tek's selling point is config fidelity. A rule scoped to certain folders stays scoped, warn stays warn, and your plugins, custom rules, parser, and eslint-disable comments all apply — tek just runs only that rule, in parallel.

Plain eslint can't do that: --rule '<json>' overrides globally (it lints files your config never enabled the rule for), and --no-config-lookup isolates one rule by throwing your config away. --concurrency adds the speed but still runs every configured rule.

Prior art: eslint-focus and eslint-nibble tackled adjacent problems.

Install

npm install -D eslint-tek

Requires ESLint 9 or 10, and Node.js >= 22.13.

Usage

# Run a single rule on your codebase
npx eslint-tek no-console src/

# Plugin rules work too
npx eslint-tek react-hooks/exhaustive-deps src/

# Only lint files changed vs main branch
npx eslint-tek no-console src/ --diff main

# Autofix
npx eslint-tek no-console src/ --fix

# Autofix with type filter
npx eslint-tek no-console src/ --fix --fix-type suggestion

# JSON output for CI
npx eslint-tek no-console src/ --format json

# Suppress warnings
npx eslint-tek no-console src/ --quiet

Output

Example:

$ npx eslint-tek react-hooks/exhaustive-deps src/

src/hooks/useData.ts:34:8  React Hook useCallback has missing dependencies

  1 file | 1 issue | 1 fixable
  Scanned 412 files in 3.2s (4 workers)

Options

| Flag | Description | | ------------------------- | ------------------------------------------------------------------------------------ | | --fix | Apply autofixes for the target rule | | --fix-type <types> | Restrict fix types (comma-separated): problem, suggestion, layout | | --diff [base] | Only lint git-changed files (default base: HEAD) | | --workers <n> | Max worker thread count (default: half the CPU count). tek uses fewer for small runs | | --format <fmt> | Output format: text (default), json | | --ext <exts> | File extensions, comma-separated (default: js,jsx,ts,tsx,mjs,mts,cjs,cts) | | --config <path> | ESLint config file override | | --cache | Reuse ESLint's cache for much faster repeat runs | | --cache-location <path> | Cache base path (default: .eslintcache). tek writes <path>.<rule>.<worker> | | --quiet | Only show errors, suppress warnings |

Behavior

  • File selection: tek discovers files with git ls-files, so it honors .gitignore (unlike eslint ., which only honors its own config ignores); tinyglobby is used outside git repos.
  • Config fidelity: if the rule isn't enabled, tek says so instead of reporting nothing, and warnings-only runs exit 0. Same contract as eslint.

Why It's Fast

The speed comes from a few architectural decisions, not a custom lint engine:

  • Parallel: N worker threads with independent ESLint instances (eslint-focus/nibble are single-threaded)
  • Surgical: ESLint's ruleFilter callback skips all rules except the target (eslint-nibble runs every rule)
  • Reused instances: One ESLint per worker, reused across files (eslint-focus creates one per file)
  • Single-pass fix: --fix runs one lint pass (nibble's interactive autofix re-lints — 3 passes total)

License

MIT