{"id":17917535,"url":"https://github.com/simplesmiler/additive","last_synced_at":"2026-01-24T09:32:46.758Z","repository":{"id":57173302,"uuid":"45914130","full_name":"simplesmiler/additive","owner":"simplesmiler","description":"Additive animations the MVVM way","archived":false,"fork":false,"pushed_at":"2024-07-01T06:12:23.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T21:22:54.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplesmiler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-10T13:38:58.000Z","updated_at":"2024-07-01T06:12:26.000Z","dependencies_parsed_at":"2022-08-24T14:41:11.523Z","dependency_job_id":null,"html_url":"https://github.com/simplesmiler/additive","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simplesmiler/additive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Fadditive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Fadditive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Fadditive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Fadditive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplesmiler","download_url":"https://codeload.github.com/simplesmiler/additive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Fadditive/sbom","scorecard":{"id":825627,"data":{"date":"2025-08-11","repo":{"name":"github.com/simplesmiler/additive","commit":"d6141635261c56178669363d4a3addbc0170fc23"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":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":"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/10 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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"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":"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":"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-23T16:34:39.463Z","repository_id":57173302,"created_at":"2025-08-23T16:34:39.463Z","updated_at":"2025-08-23T16:34:39.463Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"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":[],"created_at":"2024-10-28T20:07:44.672Z","updated_at":"2026-01-24T09:32:46.743Z","avatar_url":"https://github.com/simplesmiler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e NOTE: This is a WIP (work in progress). Please refer to the [github repo](https://github.com/simplesmiler/additive)\n\n# additive\n\n\u003e Additive animations the MVVM way\n\n## Install\n\n``` sh\n$ npm install additive --save\n```\n\n## Usage\n\nFirst you require the bits and bobs:\n\n``` js\nvar additive = require('additive');\n```\n\nThen you make a viewmodel, specifying the initial model value:\n\n``` js\nvar value = additive.make({\n  model: 0,\n});\n```\n\nThen you can trigger a transition with:\n\n``` js\n// @NOTE: this function mutates the viewmodel\nadditive.animate(value, { to: 100 });\n```\n\nAnd get the current state with:\n\n``` js\nvar state = additive.render(value);\n```\n\n## Interpolation\n\nEvery viewmodel does contain an _interpolation schema_ alongside the model.\nNote that _interpolation schema_ is different from _easing function_,\nas interpolation schema is a property of the model, while easing function\nis a property of transition between two model values.\n\nBy default the model is considered to be a single _linear_ number.\n`additive` provides several built-in interpolation schemas\nand means to compose compound schemas.\n\nBuilt-in schemas:\n\n- Linear (linear space)\n- Spinor (surface of the circle, for 2D rotations)\n- [@TODO] Quaternions (surface of the sphere, for 3D rotations)\n- [@TODO] Color (color spaces)\n\nSchema composition:\n\n- Object of schemas: `{ length: linear.schema, angle: spinor.schema }`\n- Array of schemas: `[ linear.schema, spinor.schema ]`\n- Bag: `composite.bag(linear.schema)`\n- List: `composite.list(linear.schema)`\n\n## Easing\n\nWhen applying a transition you can also specify an _easing function_ to be used\nfor this transition.\n\nDefault easing is a fast approximation of the default CSS easing. `additive`\ndoes not provide any built-in easing functions except for the default one.\nYou can write your own easing functions or use existing modules.\n\n## Examples\n\nYou can find examples in the `examples` folder.\n\n## Running tests\n\n``` sh\n$ npm run lint\n$ npm run test\n```\n\n## API\n\n@TODO\n\n## License\n\n[ISC](http://opensource.org/licenses/ISC)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesmiler%2Fadditive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplesmiler%2Fadditive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesmiler%2Fadditive/lists"}