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

oxnorm-cli

v1.0.2

Published

A CLI tool to help developers quickly configure oxlint, oxfmt, husky, lint-staged, and commitlint

Readme

oxnorm

A CLI tool to help developers quickly configure oxlint, oxfmt, husky, lint-staged, and commitlint for their projects.

Features

  • 🚀 One-command setup - Configure all tools with a single command
  • 🔍 Smart detection - Automatically detects already installed packages
  • 🧹 Legacy cleanup - Optionally removes old prettier/eslint/stylelint configs
  • 📝 Editor support - Generates VSCode and Zed editor configurations
  • 🔒 Version validation - Ensures Node.js compatibility with Vite 8 and OXC
  • 📦 Package manager aware - Auto-detects npm, yarn, or pnpm

Requirements

  • Node.js >= 18.18.0
  • A project with package.json

Installation

# Using pnpm (recommended)
pnpm add oxnorm -g
# Using npm
npm install oxnorm -g

Usage

Initialize project configuration

# Run in your project directory
ox init

This will:

  1. Check your Node.js version
  2. Ask which editors to configure (VSCode/Zed)
  3. Ask about removing legacy config files
  4. Install and configure all tools

Skip version check

ox init --skip-version-check

What gets configured

oxfmt

  • Installs oxfmt as dev dependency
  • Adds format script to package.json

oxlint

  • Installs oxlint as dev dependency
  • Creates .oxlintrc.json configuration
  • Adds lint script to package.json

husky

  • Installs husky as dev dependency
  • Creates .husky/pre-commit hook
  • Creates .husky/commit-msg hook

lint-staged

  • Installs lint-staged as dev dependency
  • Configures lint-staged in package.json

commitlint

  • Installs @commitlint/cli and @commitlint/config-conventional
  • Creates commitlint.config.js with custom rules

Editor configuration

VSCode (.vscode/settings.json):

{
    "oxc.fmt.configPath": ".oxfmtrc.json",
    "editor.defaultFormatter": "oxc.oxc-vscode",
    "editor.formatOnSave": true
}

Zed (.zed/settings.json):

{
    "tab_size": 4,
    "format_on_save": "on",
    "formatter": "language_server",
    "languages": {
        "TypeScript": { "formatter": { "language_server": { "name": "oxfmt" } } },
        "JavaScript": { "formatter": { "language_server": { "name": "oxfmt" } } }
        // ...
    }
}

Commit Message Convention

This tool configures commitlint with the following commit types:

| Type | Description | | ---------- | ------------------------------------- | | feat | New feature | | fix | Bug fix | | docs | Documentation changes | | style | Code style changes (formatting, etc.) | | refactor | Code refactoring | | perf | Performance improvements | | test | Adding or updating tests | | build | Build system changes | | ci | CI/CD configuration | | chore | Maintenance tasks | | revert | Revert a previous commit | | release | Release version |

Example: feat: add user authentication

Development

# Install dependencies
pnpm install

# Build
pnpm build

# Run tests
pnpm test

# Run tests with coverage
pnpm test:coverage

# Lint
pnpm lint

# Format
pnpm format

License

MIT