{"id":40948701,"url":"https://github.com/just-animate/just-curves","last_synced_at":"2026-01-22T05:08:17.265Z","repository":{"id":51732853,"uuid":"78300415","full_name":"just-animate/just-curves","owner":"just-animate","description":"A library of reusable easing functions","archived":false,"fork":false,"pushed_at":"2022-12-30T18:32:31.000Z","size":109,"stargazers_count":55,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T09:27:14.996Z","etag":null,"topics":["animation","css","css-easing-functions","curve","easing-functions","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/just-animate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-07T19:55:11.000Z","updated_at":"2025-04-20T05:25:53.000Z","dependencies_parsed_at":"2023-01-31T13:15:18.703Z","dependency_job_id":null,"html_url":"https://github.com/just-animate/just-curves","commit_stats":null,"previous_names":["just-animate/just-ease"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/just-animate/just-curves","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-animate%2Fjust-curves","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-animate%2Fjust-curves/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-animate%2Fjust-curves/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-animate%2Fjust-curves/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/just-animate","download_url":"https://codeload.github.com/just-animate/just-curves/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just-animate%2Fjust-curves/sbom","scorecard":{"id":543467,"data":{"date":"2025-08-11","repo":{"name":"github.com/just-animate/just-curves","commit":"ceb3cb84be756ec23d05f4ec0b5fb43338fff4ea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T08:48:55.612Z","repository_id":51732853,"created_at":"2025-08-20T08:48:55.612Z","updated_at":"2025-08-20T08:48:55.612Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28655207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["animation","css","css-easing-functions","curve","easing-functions","javascript","typescript"],"created_at":"2026-01-22T05:08:16.754Z","updated_at":"2026-01-22T05:08:17.259Z","avatar_url":"https://github.com/just-animate.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Just Curves\n\n*Just Curves is a math library for animation and tweening!*\n\n[![npm version](https://badge.fury.io/js/just-curves.svg)](https://badge.fury.io/js/just-curves)\n[![Build Status](https://travis-ci.org/just-animate/just-curves.svg?branch=master)](https://travis-ci.org/just-animate/just-curves)\n[![Downloads](https://img.shields.io/npm/dm/just-curves.svg)](https://www.npmjs.com/package/just-curves)\n\n## Why use Just Curves?\n\n- Common easing curves like easeIn, easeOut, easeInQuint for JS and CSS\n- Custom eases using cubicBezier(), steps(), and cssFunction()\n- Use CSS easing functions from existing code\n- Small download size: __\u003c 5k minified__  with no dependencies\n- Works with [Just Animate](https://github.com/just-animate/just-animate), [TweenRex](https://github.com/tweenrex/tweenrex), [nm8](https://github.com/davidkpiano/nm8), [Popmotion](https://github.com/Popmotion/popmotion), [AnimeJS](https://github.com/juliangarnier/anime), [MoJS](https://github.com/legomushroom/mojs), and other animation engines that accept easings in form of ```(offset: number) =\u003e number```\n\n\u003e Power this project up with 🌟s,  [^ star it please](https://github.com/just-animate/just-curves/stargazers).\n\n## Getting Started\n\n### Setup from CDN\nInclude this script\n```html\n\u003cscript src=\"https://unpkg.com/just-curves/dist/just-curves.min.js\"\u003e\u003c/script\u003e\n```\n\n### Setup for bundling\n\n```bash\nnpm install just-curves --save\n```\n\n## Curve creators\n\n### CSS Function\nCreates a curve from a css easing function\n\n**Browser**\n```ts\nconst linear = just.curves.cssFunction('linear');\nconst ease = just.curves.cssFunction('cubic-bezier(0.25, 0.1, 0.25 0.1)');\n```\n\n**Bundled**\n```ts\nimport { cssFunction } from 'just-curves';\n\nconst linear = cssFunction('linear');\nconst ease = cssFunction('cubic-bezier(0.25, 0.1, 0.25 0.1)');\n```\n\n### Cubic Bezier\nCreates a cubic-bezier curve using 4 numbers\n\n\u003e Follows [cubic-bezier](https://drafts.csswg.org/css-timing/#cubic-bezier-timing-functions) CSS spec\n\n**Browser**\n```ts\nconst ease = just.curves.cubicBezier(.25, .1, .25, 1);\n```\n\n**Bundled**\n```ts\nimport { cubicBezier } from 'just-curves';\n\nconst ease = cubicBezier(.25, .1, .25, 1);\n```\n\n### Steps\nCreates a curve that advances in steps\n\n\u003e Follows [step](https://drafts.csswg.org/css-timing/#step-timing-functions) CSS timing spec\n\n**Browser**\n```ts\nconst stepStart = just.curves.steps(1, 'start');\nconst stepEnd   = just.curves.steps(1, 'end');\n```\n\n**Bundled**\n```ts\nimport { steps } from 'just-curves';\n\nconst stepStart = steps(1, 'start');\nconst stepEnd   = steps(1, 'end');\n```\n\n## Curves made for JavaScript\n\n**Browser**\n```ts\njust.curves./* curve name here */\n```\n\n**Bundled**\n```ts\nimport { /* curve name here */ } from 'just-curves';\n```\nThe chart below shows all of the easings ready for use in JavaScript as is except for `linear`.\n\n\nType | In | Out | In-Out\n--- | --- | --- | ---\n`back` | easeInBack | easeOutBack | easeInOutBack\n`bounce` | easeInBounce | easeOutBounce | easeInOutBounce\n`circ` | easeInCirc | easeOutCirc | easeInOutCirc\n`cubic` | easeInCubic | easeOutCubic | easeInOutCubic\n`elastic` | easeInElastic | easeOutElastic | easeInOutElastic\n`expo` | easeInExpo | easeOutExpo | easeInOutExpo\n`quad` | easeInQuad | easeOutQuad | easeInOutQuad\n`quart` | easeInQuart | easeOutQuart | easeInOutQuart\n`quint` | easeInQuint | easeOutQuint | easeInOutQuint\n`sine` | easeInSine | easeOutSine | easeInOutSine\n`step` | stepStart | stepEnd |\n\n\n## Curves made for in CSS\n\n**Browser**\n```ts\nconst curve = just.curves.css./* curve name here */;\n```\n\n**Bundled**\n```ts\nimport { css } from 'just-curves';\n\nconst curve = css./* curve name here */;\n```\n\nThe chart below shows all of the easings ready for use in CSS as is except for `linear`.\n\nType | In | Out | In-Out\n--- | --- | --- | ---\n`back` | easeInBack | easeOutBack | easeInOutBack\n`bounce` | easeInBounce | easeOutBounce | easeInOutBounce\n`circ` | easeInCirc | easeOutCirc | easeInOutCirc\n`cubic` | easeInCubic | easeOutCubic | easeInOutCubic\n`ease` | easeIn | easeOut | easeInOut\n`expo` | easeInExpo | easeOutExpo | easeInOutExpo\n`quad` | easeInQuad | easeOutQuad | easeInOutQuad\n`quart` | easeInQuart | easeOutQuart | easeInOutQuart\n`quint` | easeInQuint | easeOutQuint | easeInOutQuint\n`sine` | easeInSine | easeOutSine | easeInOutSine\n`special` | | | elegantSlowStartEnd\n`step` | stepStart | stepEnd |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust-animate%2Fjust-curves","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjust-animate%2Fjust-curves","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust-animate%2Fjust-curves/lists"}