@asphalt-react/helper

中文文档
2.19.0发布于 2026/10/29UNLICENSEDESM + CJS近 30 天下载 2881

Common helper utilities for components

原始使用文档

Helper

npm

⚠️ Designed for Asphalt React component packages. Use at your own risk, if using externally.

A collection of common helper functions for Asphalt React.

版本与发布记录

@asphalt-react/helper 共发布 22 个版本,首次发布于 2022/03/30;过去 12 个月发布了 7 个版本。

版本发布日期距今
2.19.0latest2026/10/299 天前
2.18.02026/10/071 个月前
2.16.02026/07/283 个月前
2.15.02026/04/136 个月前
2.14.02026/03/117 个月前
2.13.02026/02/198 个月前

其他发布通道:next → 2.0.0-alpha.19。

关于 @asphalt-react/helper 的常见问题

@asphalt-react/helper 是什么?

Common helper utilities for components

如何安装 @asphalt-react/helper?

在项目目录运行 npm install @asphalt-react/helper,或使用 pnpm add / yarn add / bun add。

@asphalt-react/helper 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/asphalt-react__helper 是否存在。

@asphalt-react/helper 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@asphalt-react/helper 可以商用吗?

@asphalt-react/helper 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@asphalt-react/helper 的下载量有多少?

根据 npm 官方下载统计,@asphalt-react/helper 在 2026/10/07 – 2026/11/05 这 30 天内被下载 2,881 次,日均约 96 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@asphalt-react/helper 还在维护吗?

最新版本 2.19.0 发布于 2026/10/29(9 天前);至今共发布 22 个版本,其中过去 12 个月发布了 7 个;首次发布于 2022/03/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。