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

@wso2/eslint-plugin-oxygen-ui

v0.0.1-alpha.5

Published

ESLint plugin to prevent @mui and lucide-react direct imports in Oxygen UI based projects.

Readme

@wso2/eslint-plugin-oxygen-ui

ESLint plugin to enforce Oxygen UI best practices by preventing direct imports from @mui/* packages and lucide-react.

Installation

npm install --save-dev @wso2/eslint-plugin-oxygen-ui
# or
pnpm add -D @wso2/eslint-plugin-oxygen-ui
# or
yarn add -D @wso2/eslint-plugin-oxygen-ui

Usage

Flat Config (ESLint 9+)

import oxygenUIPlugin from '@wso2/eslint-plugin-oxygen-ui';

export default [
  {
    plugins: {
      '@wso2/oxygen-ui': oxygenUIPlugin,
    },
    rules: {
      '@wso2/oxygen-ui/no-direct-mui-imports': 'error',
      '@wso2/oxygen-ui/no-direct-lucide-imports': 'error',
    },
  },
];

Or use the recommended config:

import oxygenUIPlugin from '@wso2/eslint-plugin-oxygen-ui';

export default [
  oxygenUIPlugin.configs.recommended,
];

Rules

no-direct-mui-imports

Prevents direct imports from all MUI packages (@mui/*) and suggests using @oxygen-ui/react instead.

Incorrect:

import { Box, Stack } from '@mui/material';
import Button from '@mui/material/Button';
import { DataGrid } from '@mui/x-data-grid';
import { DatePicker } from '@mui/x-date-pickers';

Correct:

// Standard Material-UI components
import { Box, Stack, Button } from '@wso2/oxygen-ui';

// MUI X Data Grid components (namespace export)
import { DataGrid } from '@wso2/oxygen-ui';
// Then destructure specific components:
const { DataGrid: DataGridComponent, GridColDef } = DataGrid;

// MUI X Date Pickers components (namespace export)
import { DatePickers } from '@wso2/oxygen-ui';
// Then destructure specific components:
const { DatePicker, LocalizationProvider } = DatePickers;

Options:

  • suggestedPackage (string): The package to suggest instead of @mui/* (default: '@wso2/oxygen-ui')
  • allowedPackages (array): List of MUI packages that are allowed (default: [])

no-direct-lucide-imports

Prevents direct imports from lucide-react and suggests using @wso2/oxygen-ui-icons-react instead.

Incorrect:

import { Settings, Home, User } from 'lucide-react';

Correct:

import { Settings, Home, User } from '@wso2/oxygen-ui-icons-react';

Options:

  • suggestedPackage (string): The package to suggest instead of lucide-react (default: '@wso2/oxygen-ui-icons-react')

Auto-fixing

Both rules support auto-fixing with eslint --fix.

License

Apache-2.0 © WSO2 LLC