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-config-standard-kit

v1.0.0

Published

Standard.js linting rules - broken into modular pieces

Readme

eslint-config-standard-kit

Standard.js is a fantastic collection of linter rules, but it can be difficult to integrate with other code-quality tools like Prettier, TypeScript, or JSX.

This package makes it easy to integrate Standard.js with these other tools by breaking its configuration into modular pieces. Just mix & match the bits you need for your particular setup:

  • TypeScript
  • JSX
  • React
  • Node.js
  • Prettier
  • Simple-import-sort

Easy Setup

First, install ESLint 9 and eslint-plugin-standard-kit:

npm install --save-dev eslint eslint-config-standard-kit

Next, create an eslint.config.mjs config file:

import standardConfig from 'eslint-config-standard-kit'

export default [
  ...standardConfig({
    prettier: true,
    sortImports: true,
    jsx: true,
    node: false,
    react: true,
    typescript: true
  }),
  {
    // Add your own settings here
  }
]

The standardConfig function takes a collection of flags to enable or disable the rules you need. If your tsconfig.json isn't in a normal place, you can also pass a tsconfigRootDir option to provide its location.

If you choose prettier or typescript support, be sure to npm install the corresponding tools in your project.

Configs

If you don't want to use the standardConfig function, you can also import individual config objects:

  • eslint-config-standard-kit/config - Core Standard.js rules
  • eslint-config-standard-kit/config/jsx - JSX support
  • eslint-config-standard-kit/config/node - Node.js support
  • eslint-config-standard-kit/config/react - React support
  • eslint-config-standard-kit/config/typescript - TypeScript support
  • eslint-config-standard-kit/prettier - Core Standard.js rules + Prettier
  • eslint-config-standard-kit/prettier/jsx - JSX support + Prettier
  • eslint-config-standard-kit/prettier/node - Node.js support + Prettier
  • eslint-config-standard-kit/prettier/react - React support + Prettier
  • eslint-config-standard-kit/prettier/typescript - TypeScript support + Prettier

You could use these standalone configs like this:

import baseConfig from 'eslint-config-standard-kit/config'
import tsConfig from 'eslint-config-standard-kit/config/typescript'

export default [
  baseConfig,
  tsConfig,
  {
    // Add your own settings here
  }
]

Rules

This package auto-generates its configuration files based on the official eslint-config-standard, eslint-config-standard-jsx, and eslint-config-standard-react packages. This means you are getting the exact same rules as the official Standard.js project, just combined & filtered into a more convenient format.

The upstream eslint-config-standard-with-typescript package has been renamed to eslint-config-love, and is no longer part of the Standard.js ecosystem. Since there is no longer an official TypeScript solution, eslint-config-standard-kit simply filters eslint-config-love down to be more Standard.js-aligned.

Contributing

Pull requests are welcome! This library uses its own rules for linting & formatting, so please be sure the pre-commit hooks pass.

The unit tests use a snapshot system to verify that our output doesn't change. If you need to update the snapshots, just run UPDATE=1 yarn test to re-generate those.

To test the web interface, just use yarn prepare to compile the code, then open / refresh public/index.html.