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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bluepineapple-nebbia-tech/data-grid

v1.0.4

Published

**Data Grid** is a powerful tool that allows you to effortlessly present tabular data in a visually appealing format. With built-in features such as client-side filtering, pagination, and export options, it provides a comprehensive solution for displaying

Downloads

7

Readme

Data Grid

Data Grid is a powerful tool that allows you to effortlessly present tabular data in a visually appealing format. With built-in features such as client-side filtering, pagination, and export options, it provides a comprehensive solution for displaying and manipulating data.

Key Features

  • Tabular Data Display: Easily present data in a grid-like structure for clear and organized visualization.
  • Client-Side Filtering: Enable users to quickly search and filter data within the grid, improving data exploration and analysis.
  • Pagination: Divide large datasets into manageable chunks, enabling smooth navigation and enhanced performance.
  • Export Options: Provide users with the ability to export grid data to various formats such as CSV or Excel, facilitating data sharing and external analysis.
  • Data Masking: Ensure data security by incorporating data masking capabilities during export, safeguarding sensitive information from unauthorized access.

Installation

npm i @bluepineapple-nebbia-tech/data-grid

Usage

import DataGrid from "@bluepineapple-nebbia-tech/data-grid";

...
const columns = [
  {
    "field": "id",
    "headerName": "ID",
    "width": 90
  },
  {
    "field": "firstName",
    "headerName": "First Name",
    "width": 150,
    "editable": true
  },
  {
    "field": "lastName",
    "headerName": "Last Name",
    "width": 150,
    "editable": true
  },
  {
    "field": "age",
    "headerName": "Age",
    "type": "number",
    "width": 110,
    "editable": true
  }
]
const rows = [
  { id: 1, lastName: 'Snow', firstName: 'Jon', age: 35 },
  { id: 2, lastName: 'Lannister', firstName: 'Cersei', age: 42 },
  { id: 3, lastName: 'Lannister', firstName: 'Jaime', age: 45 },
  { id: 4, lastName: 'Stark', firstName: 'Arya', age: 16 },
  { id: 5, lastName: 'Targaryen', firstName: 'Daenerys', age: 90 },
  { id: 6, lastName: 'Melisandre', firstName: 'Tom', age: 150 },
  { id: 7, lastName: 'Clifford', firstName: 'Ferrara', age: 44 },
  { id: 8, lastName: 'Frances', firstName: 'Rossini', age: 36 },
  { id: 9, lastName: 'Roxie', firstName: 'Harvey', age: 65 },
];


<DataGrid
    columns={columns}
    rows={rows}
    title="Results Grid"
/>

API

Properties

| Property | Description | | -------- | :---------------------------------: | | title | The title of the datagrid. | | rows | Data to show in grid in json format | | columns | Column list with configuration |