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

@agile-team/mach-table-xlsx

v0.37.0

Published

Optional, engine-agnostic XLSX import and export extension for MachTable

Readme

@agile-team/mach-table-xlsx

MachTable 0.37.0 的可选 XLSX 导入导出扩展。工作簿引擎由宿主动态注入,因此普通表格页面不会下载 Excel 代码。

pnpm add @agile-team/mach-table-xlsx xlsx
import { createXlsxExtension } from "@agile-team/mach-table-xlsx";

const excel = createXlsxExtension(() => import("xlsx"));

await excel.export(api, {
  fileName: "orders.xlsx",
  sheetName: "Orders"
});

await excel.import(api, await file.arrayBuffer(), {
  sheet: 0,
  mode: "replace",
  coerceNumbers: true
});

0.34.0 与 Core/Vue/React 固定版本组同步发布。默认导出通过 io.exportMatrix({ target: "xlsx" }),默认导入使用原始单元格和 cellDates: true;数值、布尔、Date 与长标识无需格式化 CSV 往返。已有 transformCell / parseValue 字符串回调仅在显式配置时执行。需要整批业务校验和可审阅预览时,先读取矩阵并使用 Core/Vue/React 的可选 /import 计划。直接导入的 replace/append 同步装载经 parser 规范化的记录,不运行交互校验;paste 复用交互校验与撤销管线,boolean 不代表异步校验完成。

导出展示通过列的通用 valueSerializer({ value, target }) 显式配置,XLSX 通道使用 target === "xlsx";默认保留原值及类型。标签、枚举与其他异步数据由项目准备后再执行导出,扩展不接入数据插件或专用字典协议。

扩展复用 Core 的选择范围、表头、公式注入防护和安全导入规则。xlsx 只是示例引擎,不是本包的捆绑依赖;可注入经过项目批准的兼容引擎。

文档:XLSX 指南 · 企业接入

Source-available © ChenyCHENYU (Agile Team). 任何使用均须事先取得书面授权。详见 LICENSE 与授权流程。