@easydata/ui

中文文档
1.6.0发布于 2026/09/20MITTypeScriptESM + CJS零依赖近 30 天下载 3268

EasyData.JS: DOM manipulation functions and UI widgets

原始使用文档
文档目录7 节
  1. What is EasyData?
  2. What is @easydata/ui package?
  3. How to start?
  4. 1. ASP.NET Core projects
  5. 2. Any other backend platform.
  6. Documentation
  7. License

@easydata/ui (part of EasyData library)

What is EasyData?

EasyData is an open-source library that allows you to simplify data management tasks in your web applications. Here we are talking about usual CRUD (create, retrieve, update, delete) operations first of all.

EasyData introduces a declarative approach to building a user interface for most data operations. You simply describe your data: entities (tables), attributes (fields), relationships between them, data types, constraints, etc., and EasyData automatically, at run-time renders the necessary forms and dialogs to view, search and edit the data.

What is @easydata/ui package?

This is the UI package of the client-side part of the EasyData library (also called EasyData.JS). It contains some basic utilties for DOM manipulation and all classes and widgets (like data grid, forms, dialogs, value editors, etc.) necessary to render the user interface for CRUD operations. This utilities, classes and widgets are used in other packages of EasyData.JS library such as @easydata/crud.

How to start?

@easydata NPM packages make up the client-side part of EasyData. It means that you need something on your server-side to utilize EasyData in your project. The possible options are:

1. ASP.NET Core projects

To start with ASP.NET Core backend you can simply clone EasyData repository on GitHub and try one of the sample projects included in that repository. After that, you can follow the instruction published there to apply EasyData to your own project.

2. Any other backend platform.

Sorry, but it's not possible yet :(

Please submit an issue on GitHub (or vote for an existing one) to encourage us to add the support for your platform of choice faster.

Documentation

License

This package (together with all other packages in @easydata) is distributed under MIT license.

版本与发布记录

@easydata/ui 共发布 114 个版本,首次发布于 2020/08/18;过去 12 个月发布了 5 个版本。

版本发布日期距今
1.6.0latest2026/09/201 个月前
1.6.0-rc03beta2026/08/063 个月前
1.6.0-rc012026/08/033 个月前
1.5.112026/03/207 个月前
1.5.102026/01/0610 个月前
1.5.82025/04/151.6 年前

关于 @easydata/ui 的常见问题

@easydata/ui 是什么?

EasyData.JS: DOM manipulation functions and UI widgets

如何安装 @easydata/ui?

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

@easydata/ui 支持 TypeScript 吗?

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

@easydata/ui 支持 ESM 还是 CommonJS?

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

@easydata/ui 可以商用吗?

@easydata/ui 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@easydata/ui 的下载量有多少?

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

@easydata/ui 还在维护吗?

最新版本 1.6.0 发布于 2026/09/20(1 个月前);至今共发布 114 个版本,其中过去 12 个月发布了 5 个;首次发布于 2020/08/18。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。