{"id":25935356,"url":"https://github.com/wellcaffeinated/intween","last_synced_at":"2026-05-28T13:31:43.265Z","repository":{"id":57275497,"uuid":"158416193","full_name":"wellcaffeinated/intween","owner":"wellcaffeinated","description":"Your companion for building rich interactive media with Interactive Tweens.","archived":false,"fork":false,"pushed_at":"2025-04-10T21:10:16.000Z","size":2695,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T23:59:42.633Z","etag":null,"topics":["interactive","javascript","tween","tweening-engine"],"latest_commit_sha":null,"homepage":"https://intween.wellcaffeinated.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wellcaffeinated.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["wellcaffeinated"],"patreon":"minutelabsio"}},"created_at":"2018-11-20T16:03:43.000Z","updated_at":"2025-06-15T16:07:41.000Z","dependencies_parsed_at":"2022-09-15T19:12:44.825Z","dependency_job_id":null,"html_url":"https://github.com/wellcaffeinated/intween","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/wellcaffeinated/intween","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcaffeinated%2Fintween","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcaffeinated%2Fintween/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcaffeinated%2Fintween/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcaffeinated%2Fintween/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellcaffeinated","download_url":"https://codeload.github.com/wellcaffeinated/intween/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellcaffeinated%2Fintween/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33611248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["interactive","javascript","tween","tweening-engine"],"created_at":"2025-03-04T01:34:18.319Z","updated_at":"2026-05-28T13:31:43.261Z","avatar_url":"https://github.com/wellcaffeinated.png","language":"JavaScript","funding_links":["https://github.com/sponsors/wellcaffeinated","https://patreon.com/minutelabsio"],"categories":[],"sub_categories":[],"readme":"# InTween\n\n[![NPM Package][npm]][npm-url]\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nYour companion for building rich interactive media with **Interactive Tweens**.\n\n[Guide](https://intween.wellcaffeinated.net/guide) \u0026mdash;\n[Demos](https://intween.wellcaffeinated.net/demos/) \u0026mdash;\n[API Docs](https://intween.wellcaffeinated.net/api/)\n\n### Quick Start ###\n\n```sh\nyarn add intween\n# -- or --\nnpm install -s intween\n```\n\n```js\nimport { Tween, Meddle, Player, spreadAssign, animationThrottle } from 'intween'\n```\n\nOr use a CDN\n\n```html\n\u003cscript src=\"https://unpkg.com/intween/dist/intween.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nconst { Tween, Meddle, Player, spreadAssign, animationThrottle } = InTween // window.InTween\n\u003c/script\u003e\n```\n\nNow play!\n\n```js\nconst tween = new Tween({\n  position: [0, 0]\n})\n\ntween.to({\n  position: [1, 1]\n}, {\n  startTime: '1s',\n  endTime: '2s',\n  easing: 'quadInOut'\n})\n\nconst meddle = new Meddle(tween).easing('backIn')\n\n// connect it to some interaction event\nwindow.addEventListener('click', e =\u003e {\n  const position = [e.clientX, e.clientY]\n  meddle.set({ position })\n})\n\nconst player = new Player(tween.duration)\n\nplayer.pipe(\n  spreadAssign(\n    tween,\n    meddle\n  )\n  , animationThrottle()\n).subscribe(state =\u003e {\n  // do stuff with state.position\n})\n\nplayer.play() // go!\n```\n\n[npm]: https://img.shields.io/npm/v/intween\n[npm-url]: https://www.npmjs.com/package/intween\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellcaffeinated%2Fintween","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellcaffeinated%2Fintween","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellcaffeinated%2Fintween/lists"}