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

@lowcodex/gen-data-processing

v0.1.0

Published

报表数据加工引擎(迁移自 platform-sheet data-processing):树形/明细数据按布局类型展开为 gen-sheet 行列结构,headless 纯 JS

Readme

@lowcodex/gen-data-processing

报表数据加工引擎,迁移自 platform-sheet @platform/data-processing 0.1.0。headless 纯 JS:把树形层级/明细数据按区域配置与布局类型展开为 @lowcodex/gen-sheet 的行列结构(公式修复、合并单元格、插入行挤占、数据校验、阈值隐藏列)。

使用

import DataProcessing from '@lowcodex/gen-data-processing';

const processing = new DataProcessing({treeData, display, config, sheets, sheetData});
const excelData = processing.getExcelData(); // → 交给 gen-sheet init/loadData

布局类型:level-v(纵向层级)/ level-nv(纵向多层级)/ level-hv(横纵交叉)/ level-gh(分组横向)/ detail-v / detail-h(纵/横明细)/ static(固定行),由 ToList/ 各子类实现,多份配置可合并为多工作表。

与原包的差异(均为主动决策)

  1. 依赖 @platform/spread-sheet-min@lowcodex/gen-sheet(peer,6 个 API:helper/DataProxy/CellRange/Validator/alphabet/infixExprToSuffixExpr);
  2. 交互事件层(Event/ 与 initEvent)整体移除——包只保留纯数据加工;
  3. 引擎判空修复:getCellConfig 对无 KEY 单元格不再崩溃(原版遗留缺陷,随 Event 层移除该修复只保留在历史记录中)。

原生产消费方(platform-sheet 的 report-view / ad-hoc-queries)迁移时按上述差异适配。

构建

pnpm build:rolldown 双产物(lib/esm),类型为手写 index.d.ts(历史 JS 不跑 dts)。