@adminjs/fastify

中文文档
4.2.0发布于 2025/02/17SEE LICENSE IN LICENSETypeScriptES Module近 30 天下载 9249

This is an official AdminJS plugin which integrates it with Fastify framework.

原始使用文档
文档目录4 节
  1. AdminJS
  2. Usage
  3. License
  4. About rst.software

Fastify plugin for AdminJS

This is an official AdminJS plugin which integrates it with Fastify framework.

AdminJS

AdminJS is an automatic admin interface which can be plugged into your application. You, as a developer, provide database models (like posts, comments, stores, products or whatever else your application uses), and AdminJS generates UI which allows you (or other trusted users) to manage content.

Check out the example application with mongo and postgres models here: https://adminjs-demo.herokuapp.com/admin/

Or visit AdminJS github page.

Usage

To see example usage visit the examples directory in this repository.

License

AdminJS is copyrighted © 2023 rst.software. It is a free software, and may be redistributed under the terms specified in the LICENSE file.

About rst.software

We’re an open, friendly team that helps clients from all over the world to transform their businesses and create astonishing products.

  • We are available for hire.
  • If you want to work for us - check out the career page.

版本与发布记录

@adminjs/fastify 共发布 17 个版本,首次发布于 2021/12/30;过去 12 个月发布了 0 个版本。

版本发布日期距今
4.2.0latest2025/02/171.7 年前
4.1.32024/05/302 年前
4.1.22024/03/042 年前
4.1.12024/01/042 年前
4.1.02023/11/212 年前
4.0.12023/06/303 年前

其他发布通道:beta → 4.0.0-beta.3。

关于 @adminjs/fastify 的常见问题

@adminjs/fastify 是什么?

This is an official AdminJS plugin which integrates it with Fastify framework.

如何安装 @adminjs/fastify?

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

@adminjs/fastify 支持 TypeScript 吗?

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

@adminjs/fastify 支持 ESM 还是 CommonJS?

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

@adminjs/fastify 可以商用吗?

@adminjs/fastify 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@adminjs/fastify 的下载量有多少?

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

@adminjs/fastify 还在维护吗?

最新版本 4.2.0 发布于 2025/02/17(1.7 年前);至今共发布 17 个版本,其中过去 12 个月发布了 0 个;首次发布于 2021/12/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。