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

adminix

v0.0.13

Published

Build admin panels from your API with zero configuration - Adminix

Readme

🚀 Adminix

Build a full Admin Panel & Analytics Dashboard from your API in 30 seconds.

License: MIT TypeScript React

Adminix is a zero-config React library that generates production-ready management dashboards and interactive analytics from your REST API instantly. Point to any endpoint, and it auto-detects fields, types, and labels to render a full-featured CRUD interface with integrated data visualization.

📺 Live Demo

Adminix Demo (Zero-Config inference, Live Schema Editing, and Dashboard Designer in action)


✨ Features

  • Zero Config — Point to any REST endpoint. Adminix infers the schema and renders a full CRUD interface.
  • Reporting & Analytics — Built-in dashboard system with Line, Bar, Pie, Area charts and KPI widgets.
  • Dashboard Designer — Drag-and-drop interface for users and developers to build custom analytics views.
  • Resource Analytics — Every resource automatically gets an "Analytics" tab for context-specific data visualization.
  • Schema Driven — Define fields with types, validation, and custom renderers. Full TypeScript autocomplete.
  • Authentication & RBAC — Built-in JWT/Custom authentication, role-based access control, and route protection.
  • Plugin System — Extend the UI with custom widgets, field types, and mutation hooks.
  • Export to ZIP — Generate a clean, production-ready React project from any schema.
  • Dark Mode — Beautiful, consistent theming with automatic dark mode support.

📦 Installation

npm install adminix

🚀 Quick Start

Zero-Config Mode

import { Adminix } from 'adminix';
import 'adminix/style.css'; // Don't forget the styles!

export default function App() {
  return <Adminix endpoint="/api/products" />;
}

Analytics & Reporting Mode

Enable the built-in reporting engine with a single prop. This adds a global "Reports" section and an "Analytics" tab to each of your resources.

import { Adminix } from 'adminix';

const resources = [
  {
    name: 'sales',
    endpoint: '/api/analytics/sales',
    label: 'Global Sales',
    fields: [
      { name: 'date', type: 'string', sortable: true },
      { name: 'amount', type: 'number', sortable: true },
      { name: 'region', type: 'select', options: [...] }
    ]
  }
];

export default function App() {
  return (
    <Adminix 
      resources={resources} 
      enableReports={true} 
      title="Adminix Analytics" 
    />
  );
}

🔒 Authentication & Permissions

Enable authentication to instantly protect your dashboard with a login screen, JWT session management, and Role-Based Access Control (RBAC).

import { Adminix } from 'adminix';

export default function App() {
  return (
    <Adminix 
      endpoint="/api/products" 
      enableAuth={true}
      auth={{
        loginEndpoint: "/api/auth/login",
        userEndpoint: "/api/auth/me",
        tokenField: "token" // automatically injected into API requests
      }}
      globalPermissions={{
        products: {
          create: ["admin"],
          edit: ["admin", "editor"],
          delete: ["admin"],
          view: ["admin", "editor", "viewer"]
        }
      }}
    />
  );
}

UI elements (buttons, actions, routes) will automatically show/hide based on the authenticated user's roles.


📊 Dashboard Designer

Adminix includes a powerful Dashboard Designer that allows you to:

  • Create global dashboards for cross-resource overview.
  • Add resource-specific charts directly from the resource's "Analytics" tab.
  • Choose from multiple chart types: Line, Bar, Area, Pie, KPI, and Table.
  • Use the Drag-and-Drop grid to organize your layout.

🧩 Plugin System

import { chartsPlugin, analyticsPlugin } from 'adminix/plugins';

<Adminix
  resources={resources}
  plugins={[chartsPlugin(), analyticsPlugin()]}
/>

📖 Project Structure

src/
├── components/      # UI components (Adminix, DataTable, Reports, etc.)
├── core/            # Store, i18n, schema engine, theme context
├── hooks/           # React hooks (useResource, useFilters, etc.)
├── plugins/         # Extensibility system and builtin plugins
├── types/           # TypeScript type definitions (Report types, Resource types)
├── ui/              # Primitive UI components (Button, Card, Dropdown, etc.)
└── index.ts         # Public API exports

🛠 Geliştirme (Development)

git clone https://github.com/burcineren/adminix.git
cd adminix
npm install
npm run dev

📄 License

MIT — see LICENSE for details.


🤝 Contributing

Contributions are welcome! Please check the issues page or open a PR. (Created with ❤️ by Burçin Eren)