Skip to content

yuyinws/oxc-inspector

Repository files navigation

Inspect and understand the Oxc toolchain with ease.

Open on npmx.dev

✨ Features

  • Easy to use: Launch from the CLI or integrate with Vite Devtools

  • Visualize lint output: Inspect lint output in an intuitive interface

  • Config helper: Easier to understand oxlint and oxfmt config file

📷 Snapshots

CleanShot 2026-02-26 at 15.58.11@2x

CleanShot 2026-02-26 at 15.59.26@2x

CleanShot 2026-02-26 at 16.00.25@2x

🚀 Usage

Install

npm install -D oxc-inspector

pnpm add -D oxc-inspector

yarn add -D oxc-inspector

bun add -D oxc-inspector

Generate lint logs

npx oxc-inspector lint

Launch UI

npx oxc-inspector

Integrate Vite Devtools

// vite.config.ts
import { DevTools } from '@vitejs/devtools'
import { defineConfig } from 'vite'
import { DevToolsOxc } from 'oxc-inspector/vite'

export default defineConfig({
  plugins: [DevTools(), DevToolsOxc()],
  build: {
    rolldownOptions: {
      devtools: {}, // enable devtools mode
    },
  },
})

License

MIT License © 2025-PRESENT Leo

About

Inspect and understand the Oxc toolchain with ease.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors