{"id":21937722,"url":"https://github.com/jaspero/ng-slider","last_synced_at":"2025-10-12T13:24:40.557Z","repository":{"id":33788559,"uuid":"157400519","full_name":"Jaspero/ng-slider","owner":"Jaspero","description":"A light slider with no external dependencies","archived":false,"fork":false,"pushed_at":"2024-07-26T11:41:11.000Z","size":4575,"stargazers_count":5,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-11T01:17:00.329Z","etag":null,"topics":["angular","slider"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Jaspero.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["Jaspero"]}},"created_at":"2018-11-13T15:17:26.000Z","updated_at":"2024-07-26T11:41:13.000Z","dependencies_parsed_at":"2024-07-26T12:12:17.381Z","dependency_job_id":null,"html_url":"https://github.com/Jaspero/ng-slider","commit_stats":{"total_commits":130,"total_committers":7,"mean_commits":"18.571428571428573","dds":0.6307692307692307,"last_synced_commit":"7cf825cab47e2ddd4ffc09f43d47647b31f9d203"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/Jaspero/ng-slider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaspero%2Fng-slider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaspero%2Fng-slider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaspero%2Fng-slider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaspero%2Fng-slider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaspero","download_url":"https://codeload.github.com/Jaspero/ng-slider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaspero%2Fng-slider/sbom","scorecard":{"id":71257,"data":{"date":"2025-08-11","repo":{"name":"github.com/Jaspero/ng-slider","commit":"f4bd178a009be4c70a2daaeda71f1aa1b30c6c41"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/16 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":10,"reason":"no dangerous workflow patterns detected","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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/Jaspero/ng-slider/build.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/build.yml:28","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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":"52 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-c75v-2vq8-878f","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-q9mw-68c2-j6m5","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-25hc-qcg6-38wj","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"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-15T03:51:12.773Z","repository_id":33788559,"created_at":"2025-08-15T03:51:12.773Z","updated_at":"2025-08-15T03:51:12.773Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011465,"owners_count":26084947,"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-12T02:00:06.719Z","response_time":53,"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":["angular","slider"],"created_at":"2024-11-29T01:25:12.781Z","updated_at":"2025-10-12T13:24:40.535Z","avatar_url":"https://github.com/Jaspero.png","language":"TypeScript","readme":"[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\r\n![Build](https://github.com/Jaspero/ng-slider/workflows/Build/badge.svg)\r\n[![NPM Version](https://img.shields.io/npm/v/@jaspero/ng-slider.svg)](https://www.npmjs.com/package/@jaspero/ng-slider)\r\n\r\n# NG Slider\r\n\r\nA slider library for Angular\r\n\r\n## Installation\r\n\r\nTo install this library, run:\r\n\r\n```bash\r\n$ npm install --save @jaspero/ng-slider\r\n```\r\n\r\n## Setup\r\n\r\nImport `JpSliderModule` in to your `@NgModule`:\r\n\r\n```ts\r\n@NgModule({\r\n    imports: [\r\n        JpSliderModule\r\n    ],\r\n    ...\r\n})\r\nexport class AppModule {}\r\n```\r\n\r\nYou can also provide default slider [configuration options](#options)\r\nwhen importing the module\r\n\r\n```ts\r\n@NgModule({\r\n    imports: [\r\n        JpSliderModule.defaultOptions(options)\r\n    ],\r\n    ...\r\n})\r\n```\r\n\r\nNow you can use the slider in your components like this:\r\n\r\n```html\r\n\u003cjp-slider [options]=\"options\"\u003e\r\n  \u003cjp-slides\u003e\r\n    \u003cjp-slide\u003e\r\n      \u003ch1\u003eSlide 1\u003c/h1\u003e\r\n      \u003cp\u003eContent 1\u003c/p\u003e\r\n    \u003c/jp-slide\u003e\r\n    \u003cjp-slide\u003e\r\n      \u003ch1\u003eSlide 2\u003c/h1\u003e\r\n      \u003cp\u003eContent 2\u003c/p\u003e\r\n    \u003c/jp-slide\u003e\r\n  \u003c/jp-slides\u003e\r\n  \u003cjp-slide-pagination\u003e\u003c/jp-slide-pagination\u003e\r\n  \u003cbutton jpSlideArrow=\"left\"\u003eLeft\u003c/button\u003e\r\n  \u003cbutton jpSlideArrow=\"right\"\u003eRight\u003c/button\u003e\r\n\u003c/jp-slider\u003e\r\n```\r\n\r\n## Configuration\r\n\r\n### Options\r\n\r\nYou can provide default global options when importing the slider module `JpSliderModule.defaultOptions(options)`\r\nor on the `jp-slider` component `\u003cjp-slider [options]=\"options\"\u003e`. Options provided through the component\r\ninput are merged with default options with component options overriding the default ones.\r\n\r\n| name                  | type    | default | description                                                                                  |\r\n| --------------------- | ------- | ------- | -------------------------------------------------------------------------------------------- |\r\n| blocksPerView         | number  | 1       | how many slides should be shown per view                                                     |\r\n| slideTime             | number  | 0       | on what interval should the slider auto slide (disabled if 0)                                |\r\n| movesPerClick         | number  | 1       | how many slides should be moved per click on the jpSlideArrow directive                      |\r\n| initialSlide          | number  | 0       | index of the first slide that should be in view when the component inits                     |\r\n| loop                  | boolean | true    | should the slider loop (clicking on the last slide takes you to the first one and vice versa |\r\n| firstToLastTransition | boolean | false   | animate transition between first and last slide (performance intensive)                      |\r\n\r\n### Events\r\n\r\n### Customization\r\n\r\nThe library ships with bare minimum styles. This is all there is to it:\r\n\r\n```scss\r\n// jp-slider component\r\n:host {\r\n  display: block;\r\n  height: 100%;\r\n  width: 100%;\r\n}\r\n\r\n.jp-s-w {\r\n  position: relative;\r\n  overflow: hidden;\r\n  height: 100%;\r\n  width: 100%;\r\n}\r\n\r\n.jp-s-w-i {\r\n  position: relative;\r\n  height: 100%;\r\n  display: flex;\r\n  transition: 0s;\r\n  \u0026.active {\r\n    transition: 0.3s;\r\n  }\r\n}\r\n```\r\n\r\nThis is to allow for all kinds of customizations, with the downside being\r\nthat no styles are provided out of the box.\r\n\r\n## Caveats\r\n\r\n- If hammer is enabled and you need click events in a slide use `(tap)` instead of `(click)`.\r\n  Hammer has a bug where it registers the click event after pan ends, there are a lot of issues\r\n  documenting this behaviour, here is one example:\r\n  https://github.com/hammerjs/hammer.js/issues/815\r\n\r\n## License\r\n\r\nMIT © [Jaspero co.](mailto:info@jaspero.co)\r\n","funding_links":["https://github.com/sponsors/Jaspero"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaspero%2Fng-slider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaspero%2Fng-slider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaspero%2Fng-slider/lists"}