🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@visactor/vtable-search

Package Overview
Dependencies
Maintainers
15
Versions
474
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visactor/vtable-search

The search util of VTable

npmnpm
Version
0.25.1-alpha.1
Version published
Weekly downloads
1.2K
50.46%
Maintainers
15
Weekly downloads
 
Created
Source
VisActor Logo

VTable-Export

VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.React-VTable is a React wrapper of VTable.

npm Version npm Download license

Usage

Installation

npm package

// npm
npm install @visactor/vtable-export

// yarn
yarn add @visactor/vtable-export

Quick Start

import * as VTable from '@visactor/vtable';
import { downloadCsv, exportVTableToCsv, downloadExcel, exportVTableToExcel } from '@visactor/vtable-export';

const option = {
  header: [
    {
      field: "0",
      caption: "name",
    },
    {
      field: "1",
      caption: "age",
    },
    {
      field: "2",
      caption: "gender",
    },
    {
      field: "3",
      caption: "hobby",
    },
  ],
  records: new Array(1000).fill(["John", 18, "male", "🏀"]),
};

const tableInstance = new VTable.ListTable(option);

// donload csv file
downloadCsv(exportVTableToCsv(tableInstance), 'export-csv');

// donload excel file
downloadExcel(await exportVTableToExcel(tableInstance), 'export-excel');

More demos and detailed tutorials

  • Official website

Ecosystem

ProjectDescription
AI-generated ComponentsAI-generated table component.

Contribution

If you would like to contribute, please read the Code of Conduct Guide first。

Small streams converge to make great rivers and seas!

License

MIT License

FAQs

Package last updated on 30 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts