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

@cdcabrera/eslint-config-toolkit

v0.4.0

Published

An ESLint multipurpose config collection.

Readme

ESLint Config Toolkit

Build License

An ESLint multipurpose config collection.

Features

Includes...

  • GitIgnore Integration: Automatically respects your project's .gitignore file
  • Modern JavaScript Support: Configured for ES6+ syntax
  • Unicorn Rules: Modern best-practices from eslint-plugin-unicorn
  • Stylistic Rules: Comprehensive code formatting with @stylistic plugin
  • Accessibility: Includes JSX accessibility rules when using the React configuration
  • TypeScript Type Definitions: Type definitions for consuming the toolkit

And configuration for...

  • Base Configuration: Core JavaScript rules for any project
  • Node.js Configuration: Specific rules for Node.js projects
  • React Configuration: Specific rules for React projects
  • JSON Configuration: Specific rules for JSON files
  • Jest Configuration: Specific rules for Jest testing

Requirements

The basic requirements:

Installation

Toolkit has one required peer dependency:

  • eslint: The core ESLint package (>=9)
# Using npm
npm install --save-dev @cdcabrera/eslint-config-toolkit eslint

# Using yarn
yarn add --dev @cdcabrera/eslint-config-toolkit eslint

# Using pnpm
pnpm add --save-dev @cdcabrera/eslint-config-toolkit eslint

Getting Started

This section will guide you through setting up ESLint with this toolkit in your project.

Step 1: Create a configuration file

Create an eslint.config.js file in your project root:

Note: ESLint supports multiple configuration file formats including .js, .mjs, .cjs, and TypeScript variants. See ESLint documentation for details.

// eslint.config.js
import toolkit from '@cdcabrera/eslint-config-toolkit';

// Choose the configuration that best fits your project
export default toolkit.base;  // For basic JavaScript projects
// OR
export default toolkit.node;  // For Node.js projects
// OR
export default toolkit.react; // For React projects

Step 2: Add NPM scripts

Add these scripts to your package.json:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

Step 3: Run ESLint

Run ESLint to check your code:

npm run lint

Or automatically fix issues where possible:

npm run lint:fix

Basic Examples

Combining Configurations

You can combine multiple configurations for more complex projects:

// eslint.config.js
import toolkit from '@cdcabrera/eslint-config-toolkit';

export default [
  ...toolkit.base,
  ...toolkit.jest,  // Add Jest configuration for test files
  {
    // Add your custom overrides
    rules: {
      'no-console': 'warn',
    }
  }
];

For more configuration options, detailed examples, and advanced usage, see the Configuration Details and Advanced Usage sections in DOCS.md.

Using with Prettier

If you prefer to use Prettier for formatting, see the Prettier Integration section in DOCS.md for detailed instructions.

Legacy Configuration

If you're using the legacy ESLint configuration format, see the Legacy Configuration section in DOCS.md for detailed examples.

Documentation

For comprehensive usage and in-depth explanations for each configuration, including advanced usage examples, see DOCS.md.

Contributing

Contributing? Guidelines can be found here CONTRIBUTING.md.

AI agent

If you're using an AI assistant to help with development in this repository, please prompt it to > review the repo guidelines first to ensure it follows the project's conventions and best practices.

Guidelines for user, agent, interaction can be found in CONTRIBUTING.md.