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

@brightsoftware/table

v0.1.5

Published

A React table library by bright office system.

Downloads

34

Readme

Bright Table

A table library released by and for Brightsoftware. It is open for everyone to use and contribute.

Example screenshot from the example/react

✨ Features

🔧 Core Functionality

  • Virtual Scrolling - High performance rendering for large datasets ( probably in future ).
  • Server-side Pagination - Laravel-compatible pagination support
  • Sorting - Built-in column sorting with custom sort indicators ( requires manual sorting by the way. )
  • Row Selection - Single and multi-row selection with checkboxes
  • Tree Tables - Hierarchical data display with expandable rows

🎨 UI/UX Features

  • RTL Support - Right-to-left language compatibility
  • Striped Rows - Alternating row colors for better readability
  • Hover Effects - Interactive row highlighting
  • Loading States - Built-in loading indicators and empty states

📱 Layout & Styling

  • Fixed Columns - Pin columns to left or right
  • Column Groups - Group related columns with headers
  • Auto Height - Dynamic table height based on content
  • Custom Cell Rendering - Flexible cell content with custom components
  • Cell and Row span - Span cells across rows and columns
  • CSS Variables - Easy theming and customization

📦 Installation

npm install @brightsoftware/table
# or
yarn add @brightsoftware/table
# or
bun add @brightsoftware/table

🚀 Example

[!NOTE] This is the code for above displayed table.

import { Cell, Column, ColumnGroup, HeaderCell, Table } from "@brightsoftware/table"
import { data, mockNestedData, } from "./faker";
import { useEffect, useState } from "react";
import { larvelPaginationObject } from "@brightsoftware/table/types/src/Pagination.d.ts";

function App() {
    const [data, setData] = useState<data[]>([]);

    useEffect(() => {
        const data = mockNestedData(101);
        setData(data);
    }, []);

    const [sort, setSort] = useState<"asc" | "desc" | undefined>();

    return (
            <Table
                name="MP"
                rowSelection
                headerHeight={80}
                isTree
                rowKey={"id"}
                rowBordered
                pagination={{
                    // laravel pagination serverResponse,
                    onRowsPerPageChange(newRowPerPage) {
                        console.log(newRowPerPage)
                    },
                    linkComponent: {
                        element: <a />,
                        urlProp: "href"
                    }
                }}
                shouldUpdateScroll={false}
                stripeRows
                data={data}
                cellBordered
                autoHeight
            >
                <Column width={200} customizable id="sn">
                    <HeaderCell>
                        sn
                    </HeaderCell>
                    <Cell>
                        {(_, i) => {
                            return (i || 0 + 1);
                        }}
                    </Cell>
                </Column>

                <ColumnGroup header="User Name">
                    <Column width={250} customizable id="firstname">
                        <HeaderCell>First Name</HeaderCell>
                        <Cell >
                            {(rd) => {
                                return rd.firstname;
                            }}
                        </Cell>
                    </Column>

                    <Column width={150} customizable id="lastname">
                        <HeaderCell>Last Name</HeaderCell>
                        <Cell dataKey="lastname" />
                    </Column>

                </ColumnGroup>

                <Column
                    width={300}
                    minWidth={300}
                    flexGrow={1}
                    align="left"
                    customizable
                    id="email"
                    sort={sort}
                    onHeaderClick={() => {
                      // your actions
                    }}
                >
                    <HeaderCell>Email</HeaderCell>
                    <Cell dataKey="email" />
                </Column>

                <Column width={100} align="center">
                    <HeaderCell>...</HeaderCell>
                    <Cell style={{ padding: '6px' }}>
                        {rowData => (
                            <button onClick={() => alert(`id:${rowData.id}`)}>
                                Edit
                            </button>
                        )}
                    </Cell>
                </Column>
            </Table>
    )
}

export default App

🏢 About

Developed by Bright Office System - A leading software development company focused on creating modern, efficient web solutions.


For more examples, please visit the example/react folder for now.