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

@sleepingasteroid/bluehop-eslint-config

v0.1.0

Published

Shared ESLint flat configs: base / react / next / node / react-native.

Readme

@sleepingasteroid/bluehop-eslint-config

Ready-to-use ESLint rules for TypeScript, React, Next.js, Node, and React Native — install one package, import one line, done.

What is this?

ESLint is the tool that scans your code for mistakes and keeps its style consistent. Setting it up from scratch is tedious: you install a parser, a handful of plugins (TypeScript, React, hooks, accessibility, import rules), then hand-pick dozens of individual rules — and keep all of that in sync across every project.

This package does all of that for you. It bundles every plugin it needs as its own dependency and gives you a few ready-made configs you just drop in. You install one package and import one line — no plugin juggling, no rule-by-rule setup.

Why use it?

  • One install instead of ten — all the plugins ship inside this package.
  • Sensible, strict defaults already wired up (see the rules below).
  • Pick your project type — a variant for plain TypeScript, Node, React, Next.js, or React Native.
  • Stays consistent everywhere — update the rules here once and every project gets them.

Install

pnpm add -D @sleepingasteroid/bluehop-eslint-config eslint

Use

Create an eslint.config.js and spread the variant that matches your project:

import { react } from '@sleepingasteroid/bluehop-eslint-config'

export default [...react]

Subpath imports work too: import config from '@sleepingasteroid/bluehop-eslint-config/next'.

Variants — pick the one that fits your project

| Variant | Import path | Use it for | | ------------- | --------------- | ---------------------------- | | base | /base | Any TypeScript project | | node | /node | Node services, CLIs, scripts | | react | /react | Browser React apps | | next | /next | Next.js apps | | reactNative | /react-native | React Native / Expo apps |

What rules does it enforce?

The main "house rules" baked in:

  • No any@typescript-eslint/no-explicit-any is an error.
  • No unused variables — except ones you intentionally prefix with _.
  • Correct React hooksreact-hooks/exhaustive-deps is an error.
  • Named exports onlyimport-x/no-default-export is an error (automatically relaxed where frameworks require default exports, e.g. Next.js pages and config files).
  • No stray console callsno-console is an error (see below).
  • Formatting is left to Prettier — this config switches off style rules so it never fights with bluehop-prettier-config.

Allowing console in your logger

no-console is an error everywhere on purpose — logging should live in one dedicated module. In that module, turn the rule off locally:

/* eslint-disable no-console -- this is the logging utility */
export const logger = {
  error: (msg: string, err: unknown) => console.error(msg, err),
}

Part of the bluehop toolkit — a set of shareable project configs. Pairs well with bluehop-prettier-config, bluehop-tsconfig, and bluehop-git-hooks.