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

@alxwlw/oxlint-config

v1.0.1

Published

The alxwlw oxlint canon for oxlint 1.x + oxlint-tsgolint (type-aware): base/node/nest/react/next presets, TypeScript-7-compatible (tsgolint embeds typescript-go).

Readme

@alxwlw/oxlint-config

The alxwlw lint canon for oxlint 1.x + oxlint-tsgolint, built for repos on TypeScript 7 (typescript-eslint has no TS7-compatible compiler API until TS 7.1 and upstream will not support 7.0; tsgolint embeds typescript-go, so the repo's typescript version is irrelevant to linting).

Presets

| Preset | Extends | Adds | | ------- | ------- | --------------------------------------------------------------------------------------- | | base | — | correctness category, full type-aware set (tsgolint), tsdoc, simple-import-sort | | node | base | stack/naming-convention (canon selector set) | | nest | node | stack/require-nest-di-decorator; typescript/require-await off (Nest guard contract) | | react | base | react-hooks classic pair + eslint-plugin-react recommended + jsx-a11y recommended ports | | next | react | oxlint nextjs plugin |

base deliberately carries a curated strict subset beyond typescript-eslint's recommendedTypeChecked defaults, proven at error level in production (no-unnecessary-condition, no-deprecated, restrict-template-expressions, …). Prettier remains a separate gate (oxlint does not format); dependency-cruiser remains the architecture/cycle engine (import/no-cycle stays off).

Usage

// .oxlintrc.json (repo root)
{
	"extends": ["./node_modules/@alxwlw/oxlint-config/nest.jsonc"],
	"ignorePatterns": ["**/dist/**", "**/*.generated.*"],
}
oxlint --type-aware --report-unused-disable-directives --config .oxlintrc.json .

For browser code in a mixed repo, drop a nested .oxlintrc.json extending react.jsonc into the frontend root — oxlint auto-discovers nested configs per subtree (a nested config REPLACES the root one for that subtree, which is why react.jsonc extends base.jsonc itself).

Sharp edges (all empirically verified)

  • --type-aware is load-bearing. Without the flag every typescript/* type-aware rule is SILENTLY skipped — no error, no warning. Keep the flag in the repo's lint task; oxlint-tsgolint must be installed (optional peer).
  • Build .d.ts before type-aware lint in project-reference monorepos (tsc --build first): unresolved imports produce error-typed values that fire the no-unsafe-* rules as phantoms.
  • Top-level plugins REPLACES the inherited set — a consumer overriding plugins must restate the full list (see react.jsonc for the pattern).
  • Never run --fix-suggestions in automation: tsgolint's require-await "suggestion" rewrites public signatures (Promise<T> → T). Plain --fix is safe; the consistent-type-imports × import/no-duplicates fixers can collide on one import pair — a second --fix pass converges.
  • Out-of-program files (tests, config files, plain JS) are linted under an inferred strict program by tsgolint; base.jsonc mirrors tseslint's disableTypeChecked for the universal globs — extend that override in the consuming repo for repo-specific out-of-program trees (scripts/, e2e/, bundler-frontend subdirs).
  • import type conversions can break NestJS DI: consistent-type-imports flags DI-load-bearing class imports on ctor params that lack an explicit @Inject (SWC/Bun-class transpilers elide type-only imports → design:paramtypes degrades to Object). Fix the param with an explicit @Inject(Class) (this canon's convention), never with a lint disable.

The stack JS plugin

./plugin exports the in-house rules (ESLint rule API, run by oxlint's jsPlugins host — requires running oxlint via the npm CLI, which every moon task does):

  • stack/require-nest-di-decorator — ported from a private ESLint-rule original; see NOTICE for provenance. The two are no longer kept in lockstep and will drift.
  • stack/naming-convention — port of the canon naming selector set; option { "leadingUnderscore": "none" | "allow" | "allowSingleOrDouble" } for repos with a _-prefix private-by-convention marker.
  • stack/tsdoc-syntax — @microsoft/tsdoc-backed TSDoc validation (eslint-plugin-tsdoc ≥0.5 requires the eslint package at load time, which oxlint consumers no longer install).