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-efe13

v1.3.0

Published

Configuración de ESLint + Prettier o Biome inspirada en Goncy con un CLI para proyectos Next.js, Vite y backend-ts (Node/TypeScript).

Readme

eslint-config-efe13

CLI para configurar rápidamente ESLint + Prettier (Flat Config) o Biome en proyectos Next.js, Vite o backend-ts (Node/TypeScript).

Reglas de configuración inspiradas en Goncy.

Uso rápido

Ejecuta el CLI en la raíz de tu proyecto con tu gestor preferido:

npx eslint-config-efe13
# o
pnpm dlx eslint-config-efe13
# o
yarn dlx eslint-config-efe13
# o
bunx eslint-config-efe13

El CLI intentará detectar el framework automáticamente. Si no puede detectarlo (o es ambiguo), te pedirá que selecciones uno (nextjs | vite | backend-ts) y hará la configuración automáticamente.

Primero elige la herramienta:

  • ESLint + Prettier: genera eslint.config.mjs e instala las dependencias del preset del framework.
  • Biome: genera biome.json e instala @biomejs/biome (reemplaza ESLint + Prettier). No pregunta framework; usa el detectado para adaptar la config. En backend-ts omite los dominios de Next/React y las directivas de Tailwind.

En ambos casos agrega el script "lint" a package.json (eslint . o biome check .) si aún no existe.

Nota para proyectos Vite

Si tu proyecto fue creado con Vite, elimina el archivo eslint.config.js que Vite genera por defecto. Este CLI creará eslint.config.mjs (Flat Config).

Nota para proyectos backend-ts

  • El preset usa neostandard (ts: true), el sucesor de standard/semistandard compatible con flat config y ESLint 9.
  • Asegúrate de tener un tsconfig.json en la raíz del proyecto; el preset usa lint con información de tipos (projectService). Los archivos .ts sueltos de la raíz (drizzle.config.ts, vitest.config.ts, etc.) se lintan con el proyecto por defecto.
  • El preset apunta a entornos Node.js y también habilita APIs de serviceworker (para soportar fetch, Request, Response en runtimes tipo Bun/Workers si fuese necesario).

Requisitos

  • Node.js 18+.
  • Un gestor de paquetes: npm, pnpm, yarn o bun.

¿Qué hace?

  • Detecta tu gestor de paquetes.
  • Pregunta qué herramienta usar: ESLint + Prettier o Biome.
  • Instala las dependencias necesarias.
  • Genera eslint.config.mjs (Flat + Prettier) o biome.json según la herramienta.
  • Añade el script "lint" (eslint . o biome check .) a package.json si existe y aún no define lint.

Lint

npm run lint

Licencia

ISC