{"id":17002480,"url":"https://github.com/thednp/bezier-easing","last_synced_at":"2026-04-01T18:32:39.779Z","repository":{"id":48137582,"uuid":"234251897","full_name":"thednp/bezier-easing","owner":"thednp","description":"🍬 A Typescript based cubic-bezier-easing class to create easing functions as used in Tween.js or KUTE.js","archived":false,"fork":false,"pushed_at":"2026-03-26T15:24:38.000Z","size":1097,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-27T05:43:49.336Z","etag":null,"topics":["easing-functions","javascript","kute","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thednp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["thednp"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2020-01-16T06:34:29.000Z","updated_at":"2026-03-26T15:22:13.000Z","dependencies_parsed_at":"2023-02-01T05:15:53.709Z","dependency_job_id":"7bc49669-fe84-46b0-881d-3056186f8ddd","html_url":"https://github.com/thednp/bezier-easing","commit_stats":{"total_commits":73,"total_committers":3,"mean_commits":"24.333333333333332","dds":0.3287671232876712,"last_synced_commit":"181aa498c644b0220d3bc9c7704db3d9bd2e0e36"},"previous_names":["thednp/cubicbezier"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/thednp/bezier-easing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fbezier-easing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fbezier-easing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fbezier-easing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fbezier-easing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thednp","download_url":"https://codeload.github.com/thednp/bezier-easing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thednp%2Fbezier-easing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["easing-functions","javascript","kute","typescript"],"created_at":"2024-10-14T04:28:09.666Z","updated_at":"2026-04-01T18:32:39.772Z","avatar_url":"https://github.com/thednp.png","language":"TypeScript","funding_links":["https://github.com/sponsors/thednp"],"categories":[],"sub_categories":[],"readme":"## CubicBezier\r\n ![vitest version](https://img.shields.io/badge/vitest-4.1.0-brightgreen) ![vite version](https://img.shields.io/badge/vite-8.0.1-brightgreen)\r\n[![Coverage Status](https://coveralls.io/repos/github/thednp/bezier-easing/badge.svg)](https://coveralls.io/github/thednp/bezier-easing)\r\n[![ci](https://github.com/thednp/bezier-easing/actions/workflows/ci.yml/badge.svg)](https://github.com/thednp/bezier-easing/actions/workflows/ci.yml)\r\n\r\nA Typescript sourced cubic-bezier class to create easing functions as used in [KUTE.js](https://github.com/thednp/kute.js). The module is based on UnitBezier by Apple, a piece of code found on [Codepen](https://codepen.io/jwdunn/pen/VJGzNm).\r\n\r\n## Install\r\n```\r\nnpm install @thednp/bezier-easing\r\n```\r\n\r\n## Usage\r\n```ts\r\nimport CubicBezier from '@thednp/bezier-easing';\r\n\r\nconst easeCubicInOut = new CubicBezier(0.645, 0.045, 0.355, 1);\r\n\r\nconst moveItRight = KUTE.to(\r\n  someTarget,\r\n  { translateX: 150 },\r\n  { easing: easingCubicInOut }\r\n);\r\n```\r\n_Note: if you're using KUTE.js, you don't have to install this module, the above is just an example on what it does and how to use it._\r\n\r\nBy default, new easing functions get a name with the parameters. EG: `cubic-bezier(0.645,0.045,0.335,1)`\r\n\r\nHowever, you can set your own unique name like so:\r\n\r\n```js\r\nconst easeCubicInOut = new CubicBezier(0.645, 0.045, 0.355, 1, 'myCubicOut')\r\n```\r\n\r\nYou can use CubicBezier in combination with other libraries like [D3](https://github.com/d3), [Three.js](https://github.com/mrdoob/three.js), [Tween.js](https://github.com/tweenjs/tween.js) and [GSAP](https://greensock.com/gsap/) of course.\r\n\r\n## Run the tests suite (new)\r\n* [Download](https://github.com/thednp/bezier-easing/archive/refs/heads/master.zip) the package from Github;\r\n* unpack/unzip and open the folder with your editor;\r\n* open your terminal and navigate to the root of the unpacked folder;\r\n* run `npm install` or `npm update`, takes a few minutes to download the Electron browser;\r\n* run `npm run test-ui` to open the test in UI mode OR `npm run test` to run the tests in headless mode.\r\n\r\n## License\r\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthednp%2Fbezier-easing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthednp%2Fbezier-easing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthednp%2Fbezier-easing/lists"}