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

@srcinnovations/eslint-config

v2.3.0

Published

A reasonable set of javascript rules (ESLint 9+, Node 20+)

Downloads

189

Readme

src-eslint-config

Shared ESLint config for SRC Innovations JavaScript projects.

v2.x requires Node 20+ and ESLint 9+. For Node 16/18 and ESLint 7/8, use v1.x.

Install (v2)

One install brings in ESLint 9 and the stylistic plugin:

npm install -D @srcinnovations/eslint-config

Or install ESLint yourself and use the config only:

npm install -D eslint @srcinnovations/eslint-config

Install (v1 — Node 16/18, ESLint 7/8)

npm install -D @srcinnovations/eslint-config@1

Config

  • ECMAScript 2024 (optional chaining, nullish coalescing, etc.)
  • Rules: base, es6, style, stylistic (via @stylistic/eslint-plugin)

Future rules may cover: node, errors, imports, strict, variables, React, React a11y, React hooks.

The initial rules were heavily borrowed from the Airbnb JavaScript styleguide.

Flat config (recommended for ESLint 9)

Create eslint.config.js in your project root:

const { FlatCompat } = require('@eslint/eslintrc');
const js = require('@eslint/js');
const compat = new FlatCompat({
  baseDirectory: __dirname,
  recommendedConfig: js.configs.recommended,
});
module.exports = compat.extends('@srcinnovations/eslint-config');

Use __dirname for CommonJS. For ESM ("type": "module"), use import.meta.dirname (Node 20+) or path.dirname(fileURLToPath(import.meta.url)). Install @eslint/eslintrc and @eslint/js as dev dependencies if needed.

Using with .eslintrc (legacy)

ESLint 9 defaults to flat config. If you keep using .eslintrc / .eslintrc.json, run ESLint with legacy config enabled, e.g. in your lint script:

"scripts": {
  "lint": "ESLINT_USE_FLAT_CONFIG=false eslint ."
}