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

@einfach-excel/excel-wasm

v0.2.0

Published

Prebuilt WASM formula engine for the einfach spreadsheet stack (lite and full variants)

Readme

@einfach-excel/excel-wasm

einfach 表格栈的预构建 WASM 公式引擎(ADR 0015 裁决的单包双入口交付形态)。产物由 excel/rust/wasm crate 经 wasm-pack 构建, 消费者不需要 Rust 工具链。

入口

import init, { WasmWorkbook } from '@einfach-excel/excel-wasm' // lite(默认)
import init, { WasmWorkbook } from '@einfach-excel/excel-wasm/full' // full(--features regex-formulas)
  • TS 消费者要求:lib 须含 ES2023+(d.ts 用了 Symbol.dispose)与 DOM (web-target glue 引用 fetch/URL/WebAssembly),或开 skipLibCheck。实测口径: lib: ["ESNext", "DOM"] + moduleResolution: "Bundler" 下两个入口零错。
  • lite:默认入口,REGEX* 求值为 #NAME?。
  • full:REGEXMATCH / REGEXEXTRACT / REGEXREPLACE 可用,体积代价与语义差异 (同名 LAMBDA / 宿主自定义公式会被内建遮蔽)见 excel/rust/wasm/README.md。
  • 取舍数据见 WASM 变体取舍。

构建(仓内开发者)

npm run build:wasm -w @einfach-excel/excel-wasm        # lite → lite/
npm run build:wasm:full -w @einfach-excel/excel-wasm   # full → full/
npm run build:wasm:both -w @einfach-excel/excel-wasm   # 两个都要

lite/ 与 full/ 是构建产物目录,不进 git;构建末尾会剥调试名 (scripts/strip-wasm-names.mjs)并清掉 wasm-pack 生成的 .gitignore (否则 npm 打包候选会被它干扰)。需要可读 panic 栈时用 build:wasm:keep-names / build:wasm:full:keep-names。