{"id":20596048,"url":"https://github.com/davidfig/pixi-scrollbox","last_synced_at":"2025-10-09T15:50:01.331Z","repository":{"id":32431192,"uuid":"133463093","full_name":"davidfig/pixi-scrollbox","owner":"davidfig","description":"a scrollbox built for pixi.js using a masked box that scrolls vertically and/or horizontally with optional scrollbars","archived":false,"fork":false,"pushed_at":"2024-03-05T18:46:30.000Z","size":8069,"stargazers_count":177,"open_issues_count":33,"forks_count":33,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T23:38:37.090Z","etag":null,"topics":["drag","pixi","scroll","scrollbar","ui"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pixi-scrollbox","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/davidfig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-05-15T05:21:41.000Z","updated_at":"2025-09-02T06:28:36.000Z","dependencies_parsed_at":"2024-06-18T15:25:42.925Z","dependency_job_id":"8861e8b7-255c-484c-a600-c6853f8b6567","html_url":"https://github.com/davidfig/pixi-scrollbox","commit_stats":{"total_commits":84,"total_committers":6,"mean_commits":14.0,"dds":"0.059523809523809534","last_synced_commit":"202c55d62aaf9f3377b9b12c1edaa1bea4f7f6c2"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/davidfig/pixi-scrollbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-scrollbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-scrollbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-scrollbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-scrollbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfig","download_url":"https://codeload.github.com/davidfig/pixi-scrollbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-scrollbox/sbom","scorecard":{"id":326587,"data":{"date":"2025-08-11","repo":{"name":"github.com/davidfig/pixi-scrollbox","commit":"202c55d62aaf9f3377b9b12c1edaa1bea4f7f6c2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":1,"reason":"Found 4/26 approved changesets -- score normalized to 1","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":"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":"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":"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":"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: MIT 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.3.0 not signed: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/42411981","Warn: release artifact 2.2.3 not signed: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/37150510","Warn: release artifact 2.2.2 not signed: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/34607778","Warn: release artifact 2.2.1 not signed: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/34390178","Warn: release artifact 2.2.0 not signed: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/32597489","Warn: release artifact 2.3.0 does not have provenance: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/42411981","Warn: release artifact 2.2.3 does not have provenance: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/37150510","Warn: release artifact 2.2.2 does not have provenance: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/34607778","Warn: release artifact 2.2.1 does not have provenance: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/34390178","Warn: release artifact 2.2.0 does not have provenance: https://api.github.com/repos/davidfig/pixi-scrollbox/releases/32597489"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 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":"28 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6vfc-qv3f-vr6c","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-6fx8-h7jm-663j","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq"],"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-18T02:36:52.282Z","repository_id":32431192,"created_at":"2025-08-18T02:36:52.282Z","updated_at":"2025-08-18T02:36:52.282Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278628530,"owners_count":26018473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["drag","pixi","scroll","scrollbar","ui"],"created_at":"2024-11-16T08:14:53.819Z","updated_at":"2025-10-09T15:50:01.272Z","avatar_url":"https://github.com/davidfig.png","language":"JavaScript","readme":"# pixi-scrollbox\nA configurable scrollbox designed for pixi.js.\n\nFeatures:\n* scrollbox uses a mask to clip to desired boxWidth/boxHeight size\n* scrollbox scrolls with scrollbars (options.overflow=scroll)\n* scrollbox's scrollbars may be hidden when not needed (options.overflow=auto or hidden)\n* scrollbox may also be scrolled by dragging on the content window (options.dragScroll=true)\n\n## Live Example\n[davidfig.github.io/pixi-scrollbox/](https://davidfig.github.io/pixi-scrollbox/)\n\n## Rationale\nI needed a scrollbox for the UI of my game and since I had this nifty pixi-viewport, I figured it wouldn't be much work to create it. Five hours later and I realized I was a bit off on my estimates. Hopefully others will find it useful.\n\n## Migration from v1 to v2\nScrollbox no longer exports a default object. Instead you need to use:\n\n```js\nconst Scrollbox = require('pixi-scrollbox').Scrollbox\n```\nor\n```js\nimport { Scrollbox } from 'pixi-scrollbox'\n```\nThere were some minor name changes to the fade options. See documentation.\n\n## Simple Example\n```js\nconst PIXI = require('pixi.js')\nconst Scrollbox = require('pixi-scrollbox').Scrollbox\n\n// create the scrollbox\nconst scrollbox = new Scrollbox({ boxWidth: 200, boxHeight: 200})\n\n// add a sprite to the scrollbox's content\nconst sprite = scrollbox.content.addChild(new PIXI.Sprite(PIXI.Texture.WHITE))\nsprite.width = sprite.height = 500\nsprite.tint = 0xff0000\n\n// force an update of the scrollbox's calculations after updating the children\nscrollbox.update()\n\n// add the viewport to the stage\nconst app = new PIXI.Application()\ndocument.body.appendChild(app.view)\napp.stage.addChild(scrollbox)\n```\n\n## Installation\n```\nnpm i pixi-scrollbox pixi-viewport pixi.js\n```\nor\n```\nyarn add pixi-scrollbox pixi-viewport pixi.js\n```\n\nNote: pixi-viewport and pixi.js are listed as peerDependency, which means you will need to manually install them if they're not already installed (this is to ensure you don't have two versions of these libraries).\n\nor [download the latest build from github](https://github.com/davidfig/pixi-scrollbox/releases)\n```html\n\u003cscript src=\"/external-directory/pixi.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"/external-directory/pixi-viewport.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"/external-directory/scrollbox.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    const Scrollbox = new Scrollbox(options)\n\u003c/script\u003e\n```\n\n## API Documentation\n[https://davidfig.github.io/pixi-scrollbox/jsdoc/](https://davidfig.github.io/pixi-scrollbox/jsdoc/)\n\n## license  \nMIT License  \n(c) 2019 [YOPEY YOPEY LLC](https://yopeyopey.com/) by [David Figatner](https://twitter.com/yopey_yopey/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Fpixi-scrollbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfig%2Fpixi-scrollbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Fpixi-scrollbox/lists"}