oxc-inspector
v0.0.1-beta.9
Published
Inspect and understand the Oxc toolchain with ease.
Readme
✨ 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



🚀 Usage
Install
npm install -D oxc-inspector
pnpm add -D oxc-inspector
yarn add -D oxc-inspector
bun add -D oxc-inspectorGenerate lint logs
npx oxc-inspector lintLaunch UI
npx oxc-inspectorIntegrate 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
},
},
})