@amazon-devices/keplerscript-react-native-reanimated

中文文档
2.0.9000000002发布于 2026/10/30See license in LICENSETypeScriptESM + CJS近 30 天下载 2250

More powerful alternative to Animated library for React Native.

原始使用文档
文档目录7 节
  1. React Native's Animated library reimplemented
  2. Installation
  3. Documentation
  4. Examples
  5. License
  6. Credits
  7. (Kepler) Upleveling

React Native Reanimated

React Native's Animated library reimplemented

Reanimated 2 is here! Check out our documentation page for more information

React Native Reanimated provides a more comprehensive, low level abstraction for the Animated library API to be built on top of and hence allow for much greater flexibility especially when it comes to gesture based interactions.

Installation

Check out installation section of our docs for the detailed installation instructions.

Documentation

Check out our dedicated documentation page for info about this library, API reference and more: https://docs.swmansion.com/react-native-reanimated/docs/

Examples

The source code for the example (showcase) app is under the Example/ directory. If you want to play with the API but don't feel like trying it on a real app, you can run the example project. Check Example/ directory README for installation instructions.

License

Reanimated library is licensed under The MIT License.

Credits

This project has been build and is maintained thanks to the support from Shopify, Expo.io and Software Mansion

shopify expo swm

(Kepler) Upleveling

To uplevel this keplerscript-react-native-reanimated package in the future, run this command in the root directory:

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

where TAG or COMMIT_ID (use just one or the other) refers to the release tag or the commit ID to be upleveled to. A list of release tags can be found here.

Example usage with tag:

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

Example usage with commit ID:

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 共发布 6 个版本,首次发布于 2025/09/25;过去 12 个月发布了 4 个版本。

版本发布日期距今
2.0.9000000002latest2026/10/309 天前
2.0.90000000012026/08/073 个月前
2.0.90000000002026/06/184 个月前
2.0.9000000000-rn-83rn83-alpha2026/06/134 个月前
2.0.17591359702025/09/301.1 年前
2.0.17586837372025/09/251.1 年前

关于 @amazon-devices/keplerscript-react-native-reanimated 的常见问题

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

More powerful alternative to Animated library for React Native.

如何安装 @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 和提交记录判断。