{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/tweenjs/","markdown":"https://findsoftware.frbit.cloud/tweenjs.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"tweenjs","name":"tween.js","urls":{"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"},"category":["graphics"],"description":"JavaScript and TypeScript tweening engine that animates properties of objects with easing functions.","maintainer":"Tween.js authors","maintainerType":"community","firstRelease":2011,"hosting":null,"language":"javascript","runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm, script tag, source build","licenseModel":"open-source","license":"MIT","currentMajor":"25","latestReleaseDate":"2024-07-26T00:00:00.000Z","githubStargazers":10156,"contributors":72,"packagistDownloads":null,"npmWeeklyDownloads":23416515,"dependentRepos":8498,"dependentPackages":681,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://tweenjs.github.io/tween.js/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/tweenjs/tween.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/tweenjs/tween.js/tags","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/tweenjs/tween.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/tweenjs/tween.js/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/tweenjs/tween.js/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/tweenjs/tween.js/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/tweenjs/tween.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/tweenjs/tween.js/contributors","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@tweenjs/tween.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@tweenjs%2Ftween.js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@tweenjs%2Ftween.js","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"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.\n\nIt 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.\n\n## Worth knowing\n\nThe 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."}