@ember-decorators/data

中文文档
5.2.0发布于 2019/04/07MIT近 30 天下载 1.1万

Decorators for Ember Data

原始使用文档

@ember-decorators/data

npm version Build Status

Ember Decorators is a project dedicated to exploring and unlocking the future of native classes in Ember.js. Its goal is to provide a set of decorators which can be used to write native classes with every standard feature that is available in Ember, along with the transforms and build system required to polyfill and ship them in your app today!

This addon contains decorators related to Ember Data. Checkout the documentation website for detailed guides on using native classes with Ember today, along with detailed API documentation for all the decorators included in this addon.

Installation

ember install @ember-decorators/data

License

This project is licensed under the MIT License.

版本与发布记录

@ember-decorators/data 共发布 34 个版本,首次发布于 2018/02/18;过去 12 个月发布了 0 个版本。

版本发布日期距今
5.2.0latest2019/04/077 年前
5.1.42019/03/037 年前
5.1.32019/02/127 年前
5.1.22019/01/247 年前
5.1.12019/01/187 年前
5.1.02019/01/187 年前

其他发布通道:next → 2.0.0-beta.1。

关于 @ember-decorators/data 的常见问题

@ember-decorators/data 是什么?

Decorators for Ember Data

如何安装 @ember-decorators/data?

在项目目录运行 npm install @ember-decorators/data,或使用 pnpm add / yarn add / bun add。

@ember-decorators/data 支持 TypeScript 吗?

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

@ember-decorators/data 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js 6.* || >= 7.*。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@ember-decorators/data 可以商用吗?

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

@ember-decorators/data 的下载量有多少?

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

@ember-decorators/data 还在维护吗?

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