@8ms/helpers

中文文档
4.0.5发布于 2026/11/06UNLICENSEDTypeScriptESM + CJS近 30 天下载 3009

Use corepack to run Yarn 4 for this project.

原始使用文档

Yarn 4

Use corepack to run Yarn 4 for this project.

Dates and Timezones

Luxon used for Date Time managing.

Always using UTC, this means no day light savings to worry about. As Luxon DateTime instance can't be passed between server and client side, this needs to be reinitialized on client/server side.

Queries

Query builder use: https://github.com/kysely-org/kysely

https://dev.to/mir_mursalin_ankur/publishing-your-first-npm-package-a-real-world-guide-that-actually-helps-4l4

Last update: 2026-06-23 [v2]

版本与发布记录

@8ms/helpers 共发布 455 个版本,首次发布于 2022/01/25;过去 12 个月发布了 176 个版本。

版本发布日期距今
4.0.5latest2026/11/062 天前
4.0.42026/11/052 天前
4.0.32026/11/053 天前
4.0.22026/10/299 天前
4.0.12026/10/2910 天前
4.0.02026/10/2810 天前

其他发布通道:legacy → 1.42.18。

关于 @8ms/helpers 的常见问题

@8ms/helpers 是什么?

Use corepack to run Yarn 4 for this project.

如何安装 @8ms/helpers?

在项目目录运行 npm install @8ms/helpers,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react-intersection-observer(^11.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@8ms/helpers 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@8ms/helpers 支持 ESM 还是 CommonJS?

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

@8ms/helpers 可以商用吗?

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

@8ms/helpers 的下载量有多少?

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

@8ms/helpers 还在维护吗?

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