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

@entva/oxfmt-config

v2.50.0

Published

Shareable entva styleguide config for oxfmt

Readme

@entva/oxfmt-config

Shareable entva styleguide config for oxfmt.

Matches the formatting conventions @entva/oxlint-config already enforces as lint errors (quotes, semicolons, indent, line width, trailing commas) so oxfmt can auto-fix them instead.

Not currently rolled out -- blocked

oxfmt forces semicolons as the delimiter in TS interfaces/type literals ({ a: string; b: number }), inherited unconditionally from Prettier. There is no config option for this -- checked the entire schema, no delimiter/separator/interface-related key exists. This styleguide uses commas in type literals (see stylistic/member-delimiter-style in @entva/oxlint-config, and the top-level CLAUDE.md convention), so running oxfmt on any real project would rewrite every interface/type literal to semicolons on first run, fighting our own lint rule.

The config and tests here are otherwise complete and correct -- kept in the repo so it's ready to wire into consumers the moment oxfmt exposes a way to keep commas in type literals.

How to run

npm install --save-dev @entva/oxfmt-config oxfmt
{
  "scripts": {
    "format": "oxfmt -c node_modules/@entva/oxfmt-config/index.json --ignore-path node_modules/@entva/oxfmt-config/ignore-patterns.txt",
    "format:check": "npm run format -- --check"
  }
}

Gotchas

  • Point -c straight at the shipped config file.
  • Use --ignore-path, not the config's ignorePatterns field -- same bug as oxlint: it resolves relative to the config file's own directory, not your project, once this package lives in node_modules.
  • Run from your project root -- a different cwd breaks --ignore-path matching.
  • One config for every project type -- unlike oxlint, formatting doesn't vary by framework, so there's no storybook/next variant.

Options deliberately left off

| Option | Why | | --- | --- | | sortImports | Already handled by oxlint's import/order -- enabling both would fight each other |

sortPackageJson is left enabled (default true) -- consistent, sorted package.json keys are worth having.