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

@mfyuu/biome-config

v1.4.1

Published

Shareable Biome configuration for JavaScript/TypeScript projects

Readme

@mfyuu/biome-config

English | Japanese

Shareable Biome configuration package for JavaScript/TypeScript projects by @mfyuu.

Choose from three configurations based on your project type: base, React, or Next.js.

Usage

Starter Wizard (Recommended)

The easiest way to set up Biome in your project is using our interactive CLI wizard:

npx @mfyuu/biome-config

This command will:

  • Detect your project type (base, React, or Next.js)
  • Install required dependencies (@biomejs/biome and @mfyuu/biome-config)
  • Create biome.json or biome.jsonc with the appropriate configuration
  • Add Biome scripts to your package.json (format, lint, lint-fix, check)
  • Set up VS Code integration with .vscode/settings.json
    • Choose between Biome-only formatting or Biome with Prettier for Markdown files
  • Optionally integrate Lefthook for Git hooks automation
    • Installs lefthook dependency
    • Creates lefthook configuration file
    • Adds prepare script for automatic Git hooks installation

For all available options:

npx @mfyuu/biome-config --help

Manual Setup

If you prefer to set up manually:

  1. Install the required packages:
npm i -D @biomejs/biome @mfyuu/biome-config
  1. Create biome.json or biome.jsonc in your project root:

Base Configuration (Node.js/TypeScript Projects)

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/base"]
}

React Configuration

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/react"]
}

Next.js Configuration

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/next"]
}

[!note] If you have problems with resolving the physical file, you can use the one published on this site:

"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json"

Configuration Contents

base

  • Basic formatting settings (indentation, line breaks, etc.)
  • Common TypeScript/JavaScript lint rules
  • General best practices

react

  • Inherits all settings from base
  • React/JSX specific rules
  • Hooks-related rules
  • Accessibility rules

next

  • Inherits all settings from react
  • Next.js specific file pattern exclusions
  • Support for both App Router and Pages Router

Customization

You can override inherited settings by adding custom configuration in your biome.json or biome.jsonc:

{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/base"],
  "formatter": {
    "indentStyle": "space"
  }
}

License

MIT License © 2025-PRESENT Kazuya Suzuki