# @amazon-devices/keplerscript-react-native-reanimated 中文文档

规范地址：https://npmcn.com/package/%40amazon-devices/keplerscript-react-native-reanimated/

版本：2\.0\.9000000002
npm 元数据更新时间：2026-10-29T18:46:05.453Z
中文译文更新时间：2026-11-06T22:29:22.220Z
软件包许可：See license in LICENSE

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40amazon-devices/keplerscript-react-native-reanimated
原文对照：https://npmcn.com/package/%40amazon-devices/keplerscript-react-native-reanimated/?lang=original
项目主页：https://github.com/software-mansion/react-native-reanimated#readme
源码仓库：https://github.com/software-mansion/react-native-reanimated

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：37.1 MB，657 个文件
- 模块格式：ESM + CJS
- TypeScript 类型：包内自带
- 运行依赖：5 个
- peer 依赖：react \*，react-native \*，react-native-gesture-handler ~2\.13\.0，@amazon-devices/react-native-kepler \*
- 首次发布：2025-09-25T06:07:36.129Z
- 最新版本发布：2026-10-29T18:46:04.795Z
- 近 30 天下载量：2250（2026-10-06 至 2026-11-04，npm 官方下载统计）
- 已发布版本数：6（近 12 个月 4 个）

## 中文简介

React Natural 的更强大的替代动画库.

## 安装

```sh
npm install @amazon-devices/keplerscript-react-native-reanimated
```

也可以使用：`pnpm add @amazon-devices/keplerscript-react-native-reanimated`、`yarn add @amazon-devices/keplerscript-react-native-reanimated`、`bun add @amazon-devices/keplerscript-react-native-reanimated`

## README

# 反应原生复苏

### React Industrial 动画库已重新执行

> 复活2号来了! 看看我们 [文档页面](https://docs.swmansion.com/react-native-reanimated/) 更多信息

反应原生复苏提供了更全面的, 用于构建动画库 API 的低等抽象 之上,从而允许更大的灵活性,特别是在 以手势为基础的互动.

## 安装

检查出来 [安装](https://docs.swmansion.com/react-native-reanimated/docs/installation) 详细安装指令.

## 文档

请检查我们的专用文档页, 了解关于这个库的信息, API 参考文献, 以及更多: [https://docs.swmansion.com/resact-native-reanimated/docs/ 页面存档备份,存于互联网档案馆](https://docs.swmansion.com/react-native-reanimated/docs/)

## 实例

实例(showcase)应用软件的源代码在 [`Example/`](https://github.com/software-mansion/react-native-reanimated/blob/master/Example/) 目录. 如果你想玩API,但不想在真正的应用上尝试,可以运行示例项目. 检查示例/ 目录 README 安装指令 .

## 许可证

重新命名的图书馆根据 [麻省理工学院许可证](https://npmcn.com/package/%40amazon-devices/keplerscript-react-native-reanimated/LICENSE)。 。 。 .

## 贷项

这个项目已经建立并得到了维持,这要归功于 [购买](https://shopify.com/), (中文(简体) ), [博览.io](https://expo.io/) 财务报告和审定财务报表 [软件大楼](https://swmansion.com/)

[![shopify](https://avatars1.githubusercontent.com/u/8085?v=3&s=100 "Shopify.com")](https://shopify.com/) [![expo](https://avatars2.githubusercontent.com/u/12504344?v=3&s=100 "Expo.io")](https://expo.io/) [![swm](https://logo.swmansion.com/logo?color=white&variant=desktop&width=150&tag=react-native-reanimated-github "Software Mansion")](https://swmansion.com/)

## (克普勒)升级

提升到这个水平 `keplerscript-react-native-reanimated` 软件包中,在根目录中运行此命令 :

`git subtree pull --prefix packages/@amazon-devices/keplerscript-react-native-reanimated https://github.com/software-mansion/react-native-reanimated.git [TAG|COMMIT_ID] --squash`

其中TAG或COMMIT ID(只使用一款或一款)指要升级到的放出标记或承诺ID. 可找到释放标签列表 [这里](https://github.com/software-mansion/react-native-reanimated/tags)。 。 。 .

标签的示例使用 :

`git subtree pull --prefix packages/@amazon-devices/keplerscript-react-native-reanimated https://github.com/software-mansion/react-native-reanimated.git 3.3.0 --squash`

使用承诺标识的示例 :

`git subtree pull --prefix packages/@amazon-devices/keplerscript-react-native-reanimated https://github.com/software-mansion/react-native-reanimated.git 09fafdf39ddb5e780a9d73475d2665f138d02b38 --squash`

## 常见问题

### @amazon-devices/keplerscript-react-native-reanimated 是什么？

React Natural 的更强大的替代动画库\.

### 如何安装 @amazon-devices/keplerscript-react-native-reanimated？

在项目目录运行 npm install @amazon-devices/keplerscript-react-native-reanimated，或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖：react（\*）、react-native（\*）、react-native-gesture-handler（~2\.13\.0）、@amazon-devices/react-native-kepler（\*）。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖，Yarn 需要手动安装。

### @amazon-devices/keplerscript-react-native-reanimated 支持 TypeScript 吗？

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

### @amazon-devices/keplerscript-react-native-reanimated 支持 ESM 还是 CommonJS？

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

### @amazon-devices/keplerscript-react-native-reanimated 可以商用吗？

@amazon-devices/keplerscript-react-native-reanimated 使用 See license in LICENSE 许可。许可条款写在包内的独立文件中，请阅读该文件确认可否商用。以上为概括，不构成法律意见，请以许可原文为准。

### @amazon-devices/keplerscript-react-native-reanimated 的下载量有多少？

根据 npm 官方下载统计，@amazon-devices/keplerscript-react-native-reanimated 在 2026/10/06 – 2026/11/04 这 30 天内被下载 2,250 次，日均约 75 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @amazon-devices/keplerscript-react-native-reanimated 还在维护吗？

最新版本 2\.0\.9000000002 发布于 2026/10/30（9 天前）；至今共发布 6 个版本，其中过去 12 个月发布了 4 个；首次发布于 2025/09/25。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

