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

@nouget/flextable

v0.0.4-alpha

Published

FlexTable is a lightweight, flexible table component designed for React applications. It simplifies the process of displaying tabular data with customizable features and responsive design. Whether you're dealing with simple or complex datasets, FlexTable

Downloads

9

Readme

Flextable

FlexTable is a lightweight, flexible table component designed for React applications. It simplifies the process of displaying tabular data with customizable features and responsive design. Whether you're dealing with simple or complex datasets, FlexTable provides an intuitive API to display data efficiently.

Features

  • Customizable Columns: Define your table columns with ease, including headers, sorting, and rendering functions.
  • Responsive Design: Adapts to various screen sizes for optimal viewing on any device.
  • Sorting & Filtering: Built-in sorting and filtering capabilities to manage your data effectively.
  • Easy Integration: Seamlessly integrates with your React projects, supporting both functional and class components.
  • Performance Optimized: Designed with performance in mind to handle large datasets without compromising speed.

Installation

Install FlexTable using npm:

npm install @nouget/flextable

Or using yarn:

yarn add @nouget/flextable

Quick Start

Here's how to quickly get started with FlexTable in your React application:

  • Add the basic styles to your project:

    In your main file (e.g., index.tsx), add the following import:

    import "@nouget/flextable/dist/assets/style.css";
  • Import FlexTable in your component:

    import { FlexTable } from "@nouget/flextable";
  • Define your columns and data:

    const columns = [
      { header: "Name", key: "name" },
      { header: "Age", key: "age" },
      // Add more columns as needed
    ];
    
    const data = [
      { name: "John Doe", age: 30 },
      { name: "Jane Doe", age: 25 },
      // Add more data as needed
    ];
  • Render the FlexTable component:

    <FlexTable columns={columns} data={data} />

Examples

You can check the examples in the examples folder to see how to use FlexTable in different scenarios.

Or check the Storybook examples page: FlexTable Storybook

Documentation

For a more detailed guide on FlexTable's API, including how to customize columns, implement sorting and filtering, and more, check out our documentation.

Examples

Explore our examples to see FlexTable in action, showcasing various use cases and customization options.

Contributing

We welcome contributions to FlexTable! If you're interested in helping improve the project, check out our contributing guidelines.

License

FlexTable is open-sourced software licensed under the MIT license.

Support

If you have any questions or issues, please open an issue on our GitHub repository, and we'll do our best to assist you.