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

@kekkon-nexus/config

v3.2.0

Published

An opinionated config preset for TypeScript, oxlint, oxfmt and commitlint

Readme

@kekkon-nexus/config

NPM Version NPM Downloads CI

An opinionated config preset for TypeScript, oxlint, oxfmt and commitlint.

Inspired by sxzz and antfu 💛

Features

  • Lint and format with oxlint and oxfmt
  • Error on correctness, warn on style
  • Carries the recommended presets of upstream ESLint plugins
  • Opt-in layers for React, Next.js, Vue, Jest and Vitest
  • Import sorting in oxfmt you can extend using sortImports
  • Standalone, or using Vite+
  • Scaffolds in a single script

Get Started

npm create @kekkon-nexus/config

The script will detect the config files already in the project and interactively ask for the toolchain and the project scope before writing the new configs or patching the existing ones.

Requires:

  • Node.js >= 24.12
  • TypeScript 7

Pass flags to skip the prompts:

| Flag | | | ---------------------------------------- | ---------------------------------------- | | --toolchain oxlint\|vite-plus | toolchain to configure | | --scope jest\|next\|react\|vitest\|vue | opt-in preset, repeatable | | --install | install the packages afterwards | | --module | add "type": "module" to package.json | | --typescript false\|true\|strict | write or patch tsconfig.json | | --type-aware | install oxlint-tsgolint | | --editorconfig | write .editorconfig if absent | | --vscode | write .vscode files if absent | | --commitlint | write commitlint.config if absent |

[!WARNING] .editorconfig and .vscode support is not matured yet.

Or manually:

npm i -D @kekkon-nexus/config # and other dependencies

Optional Dependencies

| Feature | Optional Dependency | | ------------------ | ------------------- | | Formatting | oxfmt | | Linting | oxlint | | Type-aware linting | oxlint-tsgolint | | Unified toolchain | vite-plus | | Commit linting | @commitlint/cli |

Usage

// oxlint.config.ts
import oxlint from "@kekkon-nexus/config/oxlint";
import react from "@kekkon-nexus/config/oxlint/react";
import { defineConfig } from "oxlint";

export default defineConfig({
	extends: [oxlint, react],
});
// oxfmt.config.ts
import oxfmt from "@kekkon-nexus/config/oxfmt";
import { defineConfig } from "oxfmt";

export default defineConfig({
	...oxfmt,
});

Or one config with Vite+:

// vite.config.ts
import oxfmt from "@kekkon-nexus/config/oxfmt";
import oxlint from "@kekkon-nexus/config/oxlint";
import vp from "@kekkon-nexus/config/oxlint/vite-plus";
import { defineConfig } from "vite-plus";

export default defineConfig({
	fmt: { ...oxfmt },
	lint: { extends: [oxlint, vp] },
});

Presets

| Import | | | ------------------- | ------------------------------------------------- | | oxlint | the default set | | oxlint/javascript | core rules, eslint, oxc and promise plugins | | oxlint/typescript | type-aware rules, needs oxlint-tsgolint | | oxlint/import | import hygiene | | oxlint/unicorn | modern syntax & API preferences | | oxlint/jsdoc | jsdoc plugin | | oxlint/browser | browser env, jsx-a11y plugin | | oxlint/node | node env, node plugin | | oxlint/react | react, react-perf | | oxlint/next | nextjs, extends oxlint/react | | oxlint/vue | vue | | oxlint/jest | jest | | oxlint/vitest | vitest | | oxlint/vite-plus | vite-plus plugin, extends oxlint/vitest |

@kekkon-nexus/config/oxlint extends the following:

  • base
  • javascript
  • typescript
  • import
  • unicorn
  • jsdoc
  • browser
  • node

oxlint/base is the ported upstream recommended presets.
See src/oxlint for the rules each one sets.

TypeScript

{
	"extends": ["@kekkon-nexus/config/ts", "@kekkon-nexus/config/ts/strict"]
}

Extend either or both. ts sets:

  • composite
  • module: esnext
  • noImplicitOverride
  • noUncheckedIndexedAccess
  • verbatimModuleSyntax
  • rewriteRelativeImportExtensions

ts/strict adds:

  • erasableSyntaxOnly
  • noFallthroughCasesInSwitch
  • noImplicitReturns
  • noPropertyAccessFromIndexSignature
  • noUnusedLocals
  • noUnusedParameters

Import Sorting

Sorts into builtins, externals, internals (~/, @/, #/), relatives, then side effects.

To slot a group in:

import oxfmt, { sortImports } from "@kekkon-nexus/config/oxfmt";

export default defineConfig({
	...oxfmt,
	sortImports: sortImports({
		customGroups: [{ groupName: "react", elementNamePattern: ["^react"] }],
		groupsBeforeExternal: [["react"]],
	}),
});

Commitlint

// commitlint.config.ts
const config = {
	extends: [
		"@kekkon-nexus/config/commitlint",
		"@kekkon-nexus/config/commitlint/gitmoji",
	],
};

export default config;

License

MIT License © Kekkon Nexus