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

gridbee

v1.0.4

Published

A lightweight, customizable data grid for React — like MUI DataGrid

Readme

🐝 gridbee — Smart React Data Grid

gridbee is a lightweight, highly customizable and feature-rich data grid component built for modern React applications. Designed with flexibility and performance in mind, gridbee supports powerful data display capabilities like sorting, filtering, exporting, editing, pagination, and virtual scrolling.


🚀 Installation

npm install gridbee

or with Yarn:

yarn add gridbee

🧪 Example Usage

import React from "react";
import gridbee from "gridbee";

const config = {
  header: {
    title: "Consumer Prepayment History",
    search: "http://abc.5120....",
    showRefresh: true,
    filter: {
      date: ["last day", "last week", "last month", "last year", "custom"],
      type: {
        Name: "KUNNUMAL",
        "Account No": "1166011019605",
      },
    },
    export: {
      pdf: "http://abcde/pdf",
      excel: "http://abcde/excel",
      csv: "http://abcde/csv",
      json: "http://abcde/json",
    },
  },
  columns: [
    { label: "Account No", name: "accountNo", level: 1 },
    { label: "Meter No", name: "meterSerialNumber", level: 1 },
    { label: "Name", name: "name", level: 1 },
    { label: "Mobile", name: "mobile", level: 1 },
    { label: "Balance", name: "balance", level: 1 },
  ],
  rows: {
    data: [
      {
        accountNo: "1166011019605",
        meterSerialNumber: "Z00042050",
        name: "KUNNUMAL DTR",
        mobile: "9200490904",
        balance: "₹240.00",
      },
      {
        accountNo: "1166011019611",
        meterSerialNumber: "Z00042051",
        name: "THIRUVAMBADY",
        mobile: "9876543210",
        balance: "₹110.00",
      },
    ],
    api: {
      endpoint: "/api/prepayment/history",
      method: "GET",
    },
  },
  pagination: {
    enabled: true,
    pageSizeOptions: [10, 25, 50, 500, 1000],
    defaultPageSize: 25,
    clientSide: true,
  },
  options: {
    wrapperStyle: {
      borderRadius: "8px",
      backgroundColor: "#ffffffff",
      boxShadow: "0 2px 8px rgba(0,0,0,0.1)",
      padding: "10px",
    },
    headerStyle: {
      backgroundColor: "teal",
      color: "yellow",
      padding: "10px",
      borderRadius: "8px",
    },
    columnStyle: {
      backgroundColor: "#b3ffecff",
      fontWeight: "bold",
      padding: "10px",
    },
    rowStyle: {
      backgroundColor: "#ffffff",
    },
    footerStyle: {
      backgroundColor: "teal",
      textAlign: "right",
      padding: "2px",
      paddingInline: "10px",
    },
  },
  features: {
    sortable: true,
    filterable: true,
    editable: true,
    selectable: true,
    virtualScroll: true,
  },
  callbacks: {
    onRowClick: (row) => console.log('Clicked row:', row),
    onDataLoad: (data) => console.log('Loaded data:', data)
  },
};

const App = () => {
  return (
    <div style={{ padding: "20px" }}>
      <gridbee config={config} />
    </div>
  );
};

export default App;

🎯 Features

  • 🔍 Sorting, Filtering & Searching
  • ✏️ Inline Editing & Selection
  • 📤 Export to PDF, Excel, CSV, JSON
  • 🔄 Refresh & Dynamic Search
  • 📄 Customizable Columns and Rows
  • ⚡ Virtual Scrolling for Large Data
  • 🧠 API Integration for Remote Data

🎨 Customization

Change colors, borders, spacing, and behavior using the options field in the config object. Style each section—header, columns, rows, footer—to match your theme.


🧩 Callbacks

Use powerful callbacks like:

onRowClick: (row) => console.log("Clicked row:", row),
onDataLoad: (data) => console.log("Loaded data:", data)

🤝 Contributing

Feel free to fork this project and open pull requests or issues. Suggestions and improvements are always welcome!


📜 License

MIT License © 2025 Biswajeet Mishra