{"id":51329221,"url":"https://github.com/stefano-rainieri/yajs","last_synced_at":"2026-07-01T21:12:05.244Z","repository":{"id":37746338,"uuid":"256800070","full_name":"stefano-rainieri/yajs","owner":"stefano-rainieri","description":"YET ANOTHER JAVASCRIPT SLIDER ✨ Simple, lightweight, responsive slider carousel.","archived":false,"fork":false,"pushed_at":"2024-08-28T15:28:53.000Z","size":2419,"stargazers_count":9,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-30T21:53:07.944Z","etag":null,"topics":["browser-support","carousel","javascript","javascript-slider","lightweight","no-dependencies","responsive","simple","slider","slider-carousel","yajs"],"latest_commit_sha":null,"homepage":"","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/stefano-rainieri.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}},"created_at":"2020-04-18T16:26:08.000Z","updated_at":"2023-01-19T18:40:50.000Z","dependencies_parsed_at":"2024-03-27T11:50:51.953Z","dependency_job_id":"228e209c-858b-463f-92ac-19e104e12c93","html_url":"https://github.com/stefano-rainieri/yajs","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":"0.11864406779661019","last_synced_commit":"f27f067655d2e13bf3c69d0aaa84364fadfb1a04"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stefano-rainieri/yajs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefano-rainieri%2Fyajs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefano-rainieri%2Fyajs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefano-rainieri%2Fyajs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefano-rainieri%2Fyajs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefano-rainieri","download_url":"https://codeload.github.com/stefano-rainieri/yajs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefano-rainieri%2Fyajs/sbom","scorecard":{"id":850515,"data":{"date":"2025-08-11","repo":{"name":"github.com/stefano-rainieri/yajs","commit":"f3cc99d7eb0d7f929a91c9f3c7eb903943f9ffc4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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":"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":"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":"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":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":-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 20 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-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","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-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-23T22:23:50.969Z","repository_id":37746338,"created_at":"2025-08-23T22:23:50.969Z","updated_at":"2025-08-23T22:23:50.969Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35022999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"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":["browser-support","carousel","javascript","javascript-slider","lightweight","no-dependencies","responsive","simple","slider","slider-carousel","yajs"],"created_at":"2026-07-01T21:12:04.798Z","updated_at":"2026-07-01T21:12:05.236Z","avatar_url":"https://github.com/stefano-rainieri.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cstrong\u003eYAJS\u003c/strong\u003e\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    YET ANOTHER JAVASCRIPT SLIDER ✨ Simple, lightweight, responsive slider carousel.\u003cbr/\u003e\n    Slide your photos, images, cards or whatever you want easier with this library.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/stefano-rainieri/yajs/master/demo/demo.gif\" height=\"150\"\u003e\n\u003c/p\u003e\n\n###\n[![stefano-rainieri](https://circleci.com/gh/stefano-rainieri/yajs.svg?style=svg)](https://github.com/stefano-rainieri/yajs)\n\n## Before\nThis library has no dependencies.\nYou only have to include a JS file.\nIt's built with webpack, so the CSS applied to the elements, is added via the bundled JS. \nThis CSS is just in order to make the right positioning of the sliding elements.\nNo other rules will be applied (backgrounds, colors, shadows etc...).\nOf course, you can add custom css to inside sliding elements, don't worry.\n\n\n## Installation\nInstall Yajs with your favourite package manager:\n```sh\n$ yarn add @stefano-rainieri/yajs\n```\nor\n```sh\n$ npm install @stefano-rainieri/yajs --save\n```\n\nInclude Yajs into your project, choosing `esm` or `umd` packaging:\n```html\n\u003cscript type=\"text/javascript\" src=\"path/to/@stefano-rainieri/yajs/dist/main.[esm|umd].bundle.js\"\u003e\u003c/script\u003e\n```\n- `umd` package is es5-written. Compatible with majority of browsers\n- `esm` package is es6-written. Compatible with modern browsers.\n\n\n## Usage\nAdd Yajs markup to auto-configure the slider carousel for your element: \n```html\n\u003cdiv class=\"yajs\" data-yajs\u003e\n    \u003cdiv class=\"yajs__arrow yajs__arrow--left\"\u003e\u0026lt;\u003c/div\u003e\n    \u003cdiv class=\"yajs__container\"\u003e\n        \u003cdiv\u003eyour first element in the slider\u003c/div\u003e\n        \u003cdiv\u003eyour second element in the slider\u003c/div\u003e\n        \u003cdiv\u003eyour third element in the slider\u003c/div\u003e\n        \u003cdiv\u003e...\u003c/div\u003e\n        \u003cdiv\u003eyour nth element in the slider\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"yajs__arrow yajs__arrow--right\"\u003e\u0026gt;\u003c/div\u003e\n\u003c/div\u003e\n```\nThat's all. Enjoy!\n\n\n## Examples\nTry some Yajs examples simply opening `index.html` under `demo/` folder.\n\n\n## Test\nRun Yajs test:\n```sh\n$ yarn test\n```\n\n\n## Work in progress\n- configure autoplay *(now it's fixed on and scroll every 5s)*\n- configure autoplay delay *(now no delay is applied)*\n- dynamically add style on construction\n\n\n## Contributing\nContributions are welcome! Feel free to file an [ISSUE](https://github.com/stefano-rainieri/yajs/issues) or open a [PR](https://github.com/stefano-rainieri/yajs/pulls) for this repo.\n\n\n## License\nYajs is licensed under the MIT License - see the [LICENSE](https://github.com/stefano-rainieri/yajs/blob/master/LICENSE) file for details.\n\n\n*Free Software, Hell Yeah!*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefano-rainieri%2Fyajs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefano-rainieri%2Fyajs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefano-rainieri%2Fyajs/lists"}