{"id":15110348,"url":"https://github.com/atomic-package/tween","last_synced_at":"2026-01-19T07:04:59.790Z","repository":{"id":57099538,"uuid":"94796163","full_name":"atomic-package/tween","owner":"atomic-package","description":"atomic package tween","archived":false,"fork":false,"pushed_at":"2020-03-28T14:36:44.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-23T00:06:35.801Z","etag":null,"topics":["css","css-framework","css3","javascript","js","tween","typescript"],"latest_commit_sha":null,"homepage":null,"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/atomic-package.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-06-19T16:11:01.000Z","updated_at":"2020-03-28T14:36:47.000Z","dependencies_parsed_at":"2022-08-20T18:10:17.619Z","dependency_job_id":null,"html_url":"https://github.com/atomic-package/tween","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atomic-package/tween","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-package%2Ftween","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-package%2Ftween/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-package%2Ftween/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-package%2Ftween/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomic-package","download_url":"https://codeload.github.com/atomic-package/tween/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomic-package%2Ftween/sbom","scorecard":{"id":215165,"data":{"date":"2025-08-11","repo":{"name":"github.com/atomic-package/tween","commit":"e70bbb916f72bc0361ed1d5ffe0a5a4ae587c523"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/3 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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"}}]},"last_synced_at":"2025-08-17T01:31:09.667Z","repository_id":57099538,"created_at":"2025-08-17T01:31:09.667Z","updated_at":"2025-08-17T01:31:09.667Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["css","css-framework","css3","javascript","js","tween","typescript"],"created_at":"2024-09-25T23:44:26.557Z","updated_at":"2026-01-19T07:04:59.755Z","avatar_url":"https://github.com/atomic-package.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Atomic Package - tween\n\n## 使用方法\n\n### 読み込み方法\n\nHTMLで読み込む場合（非推奨）\n\n```html\n\u003cscript src=\"js/atomic-package.tween.js\"\u003e\u003c/script\u003e\n```\n\nnpm install して利用する場合（推奨）\n\n```\nnpm install @atomic-package/tween\n```\n\n### JavaScriptで利用する\n\nJavaScriptで利用する方法となります。\n\n\nこちらのJavaScriptを読み込むと、global objectに 自動で紐付きます。\n\nAP.common.tweenが対象となります。\n\n```\nAP: {\n  common: {\n    tween: Tween\n  }\n}\n```\n\nnpmで管理している場合は、\n\n```\nconst Tween = require('@atomic-package/tween');\n\n....\n\nlet tween = Tween.fromData({\n        start: {\n            opacity: 0,\n            scale: 0.4\n        },\n        end: {\n            opacity: 1,\n            scale: 1\n        },\n        option: {\n            duration: 200,\n            easing: 'easeInOutCubic',\n            step: (val: any) =\u003e {\n                elem.style.opacity = val.opacity;\n                elem.style[this.transform] = 'scale(' + val.scale + ')';\n            },\n            complete: () =\u003e {\n                tween = null;\n                ....\n            }\n        }\n    });\n```\n\nなどで利用すると良いでしょう。\n\n### Tweenオブジェクト\n\nTweenオブジェクトの利用方法です。\n\nファクトリー関数 fromData関数を用いて利用します。\n\n```\nTween.fromData({\n  ...\n});\n```\n\n**startオブジェクト**\n\n```\nTween.fromData({\n  start: {\n    opacity: 0\n  }\n});\n```\n\nstartオブジェクトには、Tweenアニメーションを開始時の、プロパティと数値を任意で設定できます。\n\n\n**endオブジェクト**\n\n```\nTween.fromData({\n  end: {\n    opacity: 1\n  }\n});\n```\n\nendオブジェクトには、Tweenアニメーションを終了時の、プロパティと数値を任意で設定できます。\n\n\n**optionオブジェクト**\n\noptionオブジェクトは、以下の通りとなります。\n\n\n```\nTween.fromData({\n  option: {\n    duration: アニメーションさせる時間,\n    easing: Tweenアニメーションの種類,\n    step: (val) =\u003e {\n      Tweenアニメーション中に都度呼び出される関数となります。\n      valは、startオブジェクトに設定した keyと値が返却されます。\n    },\n    complete: () =\u003e {\n      Tweenアニメーション終了時に呼び出される関数となります。\n    }\n  }\n});\n```\n\n## Easing\n\nデフォルト値は `linear` となります。\n\n| TweenName | Detail                | \n| --------------- | -------------------- |\n| linear | デフォルト値 （Tween無し） |\n| easeInQuad |  |\n| easeOutQuad |  |\n| easeInOutQuad |  |\n| easeInCubic |  |\n| easeInOutCubic |   |\n| easeInQuart |   |\n| easeOutQuart |   |\n| easeInOutQuart |   |\n| easeInQuint |   |\n| easeOutQuint |   |\n| easeInOutQuint |   |\n| easeInSine |   |\n| easeOutSine |   |\n| easeInOutSine |   |\n| easeInExpo |   |\n| easeOutExpo |   |\n| easeInOutExpo |   |\n| easeInCirc |   |\n| easeOutCirc |   |\n| easeInOutCirc |   |\n| easeInElastic |   |\n| easeOutElastic |   |\n| easeInOutElastic |   |\n| easeInBack |   |\n| easeOutBack |   |\n| easeInOutBack |   |\n| easeInBounce |   |\n| easeOutBounce |   |\n| easeInOutBounce |   |\n\n\nTween Easingを視覚的に確認したい場合は、こちらを参照\n\n[イージング一覧](http://easings.net/ja#)\n\n\n\n## 開発手順\n\n\ngitでcloneしましょう。\n\n```\ngit clone git@github.com:atomic-package/tween.git\n```\n\nnpmパッケージをインストールします。\n\n```\nnpm install\n```\n\nnpm runコマンドで表示。\n\n```\nnpm run start\n```\n\n`http://localhost:8080/` で、ブラウザが自動で開きます。 \n\nビルド\n```\nnpm run build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomic-package%2Ftween","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomic-package%2Ftween","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomic-package%2Ftween/lists"}