@hasna/actions

中文文档
0.2.5发布于 2026/09/03Apache-2.0ES Module零依赖近 30 天下载 2万

DELETED - see README

此软件包已被标记为弃用

DELETED - @hasna/actions retired from the @hasna org (2026-09-03); no replacement; see README for migration and npm-support removal

原始使用文档

@hasna/actions — DELETED

This package has been retired from the @hasna npm organization (owner decision 2026-09-03). There is no replacement package — the actions app was deleted entirely (internal-apps issue #795).

What happened

  • The source app apps/actions was removed from the repository.
  • The package name @hasna/actions is intended and required to be removed from the registry.
  • Installed consumers: npm uninstall @hasna/actions. This package does not work — index.js throws immediately.

Requested npm deletion steps (for the package owner: andrei-hasna)

Self-service CLI unpublish is blocked by the account token policy (Granular access tokens that bypass two-factor authentication may not perform this action), so a support request is required:

  1. Via CLI (if a 2FA-compliant token is available): npm unpublish @hasna/actions --force
  2. Via npm support: submit an Unpublish request at https://support.npmjs.com with:
    • Package: @hasna/actions
    • Request: full unpublish / removal of all versions (0.1.0–0.1.6, 0.2.0, 0.2.2, 0.2.3, 0.2.4, 0.2.5 placeholder)
    • Reason: package retired from the @hasna org; source deleted; no replacement.

This placeholder (0.2.5) exists only to document the deletion on the package page and should be unpublished together with the rest.

版本与发布记录

@hasna/actions 共发布 12 个版本,首次发布于 2026/06/28;过去 12 个月发布了 12 个版本。

版本发布日期距今
0.2.5latest2026/09/032 个月前
0.2.42026/08/272 个月前
0.2.32026/08/272 个月前
0.2.22026/08/242 个月前
0.2.02026/08/023 个月前
0.1.62026/07/243 个月前

关于 @hasna/actions 的常见问题

@hasna/actions 是什么?

DELETED - see README注意:该包已被作者标记为弃用——DELETED - @hasna/actions retired from the @hasna org (2026-09-03); no replacement; see README for migration and npm-support removal

如何安装 @hasna/actions?

在项目目录运行 npm install @hasna/actions,或使用 pnpm add / yarn add / bun add。

@hasna/actions 支持 TypeScript 吗?

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

@hasna/actions 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@hasna/actions 可以商用吗?

@hasna/actions 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@hasna/actions 的下载量有多少?

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

@hasna/actions 还在维护吗?

最新版本 0.2.5 发布于 2026/09/03(2 个月前);至今共发布 12 个版本,其中过去 12 个月发布了 12 个;首次发布于 2026/06/28。作者已将其标记为弃用,新项目建议寻找替代方案。