🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

aw-xlsx

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aw-xlsx

excel文件下载插件

latest
npmnpm
Version
0.0.13
Version published
Weekly downloads
21
90.91%
Maintainers
1
Weekly downloads
 
Created
Source

AwXlsx

安装

npm install aw-xlsx

使用

import  AwXlsx  from 'aw-xlsx'

AwXlsx(data)

// data对象中包含的参数: 
{
  multiHeader = [],
  header, // 数组 Excel 头部
  data,   // Excel 内容 二维数组 [[]]
  fileName, // 文件的名称
  merges = [],
  autoWidth = true, // 表头是否自适应
  bookType = "xlsx" // 导出文件类型:'xlsx', 'csv', 'txt'  (默认xlsx)
}

Keywords

tools

FAQs

Package last updated on 09 Mar 2023

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