# tween.js

JavaScript and TypeScript tweening engine that animates properties of objects with easing functions.


Source: https://findsoftware.frbit.cloud/tweenjs/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://tweenjs.github.io/tween.js/
- repository: https://github.com/tweenjs/tween.js
- docs: https://github.com/tweenjs/tween.js/blob/main/docs/user_guide.md

### Identity

- status: active
- maintainer: Tween.js authors
- maintainerType: community
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: graphics
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm, script tag, source build

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 25
- latestReleaseDate: 2024-07-26

### Adoption

- githubStargazers: 10156
- packagistDownloads: not applicable
- npmWeeklyDownloads: 23416515
- contributors: 72
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 8498
- dependentPackages: 681

### Sources

- urls: https://tweenjs.github.io/tween.js/ (read 2026-11-16)
- urls: https://api.github.com/repos/tweenjs/tween.js (read 2026-11-16)
- urls: https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md (read 2026-11-16)
- firstRelease: https://api.github.com/repos/tweenjs/tween.js/tags (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/tweenjs/tween.js/main/LICENSE (read 2026-11-16)
- category: https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/tweenjs/tween.js (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/tweenjs/tween.js/main/LICENSE (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/tweenjs/tween.js/main/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/tweenjs/tween.js/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/tweenjs/tween.js/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/tweenjs/tween.js (read 2026-11-16)
- contributors: https://api.github.com/repos/tweenjs/tween.js/contributors (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@tweenjs/tween.js (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@tweenjs%2Ftween.js (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@tweenjs%2Ftween.js (read 2026-11-16)

## Notes

tween.js changes properties of a JavaScript object from a start value to a target over a duration, and applies an easing curve to the progress. The easing functions come from Robert Penner's equations and can be reused outside a tween, and custom easing functions are accepted too.

It does one thing: it tweens the properties of an object. It does not add CSS units, does not interpolate colors and does not run its own animation loop. The caller passes a time value from whatever loop the page uses, and the update callback writes the new values somewhere, such as a CSS transform on an element. The [user guide](https://github.com/tweenjs/tween.js/blob/main/docs/user_guide.md) covers the API in more detail.

## Worth knowing

The README marks two install routes as deprecated: the global variable from a CDN, which uses a UMD file, and the CommonJS build. The README says the UMD file will be removed in a future major version, so the ES module build is the route it recommends.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
