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

@abstracter/eslint-config

v3.0.1

Published

Common eslint configuration for common env/stacks

Readme

eslint-config

Common eslint configuration for common env/stacks

Install

npm install --save-dev eslint @abstracter/eslint-config

Example

const { base, typescript } = require('@abstracter/eslint-config');

// This assums flat config
module.exports = [
  ...base,
  ...typescript,
];

Compatibility

| Export | Entry point | ESLint 9 | ESLint 10 | | ------------ | ------------------------------------- | -------- | --------- | | base | @abstracter/eslint-config | yes | yes | | typescript | @abstracter/eslint-config | yes | yes | | react | @abstracter/eslint-config/react | no | yes |

react

import { react } from '@abstracter/eslint-config/react';

export default [
  ...react,
];

The react export lives at its own subpath and needs two optional peer dependencies, installed by consumers that use it:

npm install --save-dev @eslint-react/eslint-plugin eslint-plugin-react-hooks

React rules come from @eslint-react (recommended-typescript), not from eslint-plugin-react, which is stuck at 7.37.5 (April 2025), caps its eslint peer at ^9.7 and still calls the removed context.getFilename() — see jsx-eslint/eslint-plugin-react#3977. Rule names therefore changed wholesale: react/no-danger is now @eslint-react/dom-no-dangerously-set-innerhtml, and any eslint-disable comment naming a react/* rule needs rewriting. react/prop-types and react/react-in-jsx-scope have no replacement and no longer need disabling.

Hook rules stay with eslint-plugin-react-hooks, maintained by the React team and backed by the React compiler. @eslint-react reimplements nine of those rules; they are turned off here so nothing is reported twice.

@eslint-react documents ESLint 10.3.0 as its floor, which is why react is the one export that does not work on ESLint 9. base and typescript still do.

The subpath exists because @eslint-react ships ESM only — its exports map declares an import condition and nothing else, so require() fails even under node's require(esm). Keeping it behind /react leaves base and typescript requireable CommonJS, and keeps ~150 transitive packages out of installs that never lint React.

TypeScript 7

TypeScript 7 is not supported, and this is not a configuration problem you can work around here. The TS 7 npm package exports only lib/version.cjs, so require('typescript') no longer yields a compiler API. typescript-eslint throws on it by design, and other tooling that reads the API — @swc-node/register, for one — fails too. Stay on typescript@^6 to lint.

Do not reach for the side-by-side alias trick (typescript: "npm:@typescript/typescript6" alongside TS 7 under another name). @typescript/typescript6 depends on @typescript/old, which also declares a tsc binary, so two packages compete for node_modules/.bin/tsc and npm's link order decides the winner. It is not pinned by the lockfile: the same recipe resolved to TS 7 in one repo and TS 6 in another, meaning CI can silently build with a different compiler than your machine. Track typescript-eslint#10940 for real TS 7 support.