A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
Installations
npm install @glidejs/glide
Score
99.7
Supply Chain
100
Quality
87.8
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Developer
Developer Guide
Module System
ESM
Min. Node Version
Typescript Support
No
Node Version
14.21.3
NPM Version
6.14.18
Statistics
7,380 Stars
608 Commits
771 Forks
136 Watching
4 Branches
53 Contributors
Updated on 28 Nov 2024
Bundle Size
26.97 kB
Minified
7.68 kB
Minified + Gzipped
Languages
JavaScript (97.22%)
SCSS (2.78%)
Total Downloads
Cumulative downloads
Total Downloads
23,810,210
Last day
-4.4%
21,082
Compared to previous day
Last week
4.5%
118,329
Compared to previous week
Last month
1.9%
489,774
Compared to previous month
Last year
1.1%
5,806,708
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Glide.js is a dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
What can convince you:
- Dependency-free. Everything included, ready for action.
- Lightweight. Only ~23kb (~7kb gzipped) with every functionality on board.
- Modular. Remove unused modules and drop script weight even more.
- Extendable. Plug-in your own modules with additional functionalities.
- Bundlers ready. Using Rollup or Webpack? We have your back.
Documentation
Visit glidejs.com for documentation.
Looking for old documentation? Wiki contains archived documentation of Glide.js in version
^2.0.0
.
Donation
Glide.js is an open source project licensed under the MIT license. It's completely free to use. However, it would be great if you buy me a cup of coffee once in a while to keep me awake :)
Getting started
Pull-in a latest version with NPM ...
1npm install @glidejs/glide
... provide <link>
to the required core stylesheet. You can also optionally add an included theme stylesheet ...
1<!-- Required Core stylesheet --> 2<link rel="stylesheet" href="node_modules/@glidejs/glide/dist/css/glide.core.min.css"> 3 4<!-- Optional Theme stylesheet --> 5<link rel="stylesheet" href="node_modules/@glidejs/glide/dist/css/glide.theme.min.css">
... then, prepare a little bit of necessary markup ...
1<div class="glide"> 2 <div data-glide-el="track" class="glide__track"> 3 <ul class="glide__slides"> 4 <li class="glide__slide"></li> 5 <li class="glide__slide"></li> 6 <li class="glide__slide"></li> 7 </ul> 8 </div> 9</div>
... and finally, initialize and mount a Glide.
1import Glide from '@glidejs/glide' 2 3new Glide('.glide').mount()
Need a few selected modules? Import and mount only what you need.
1import Glide, { Controls, Breakpoints } from '@glidejs/glide/dist/glide.modular.esm' 2 3new Glide('.glide').mount({ Controls, Breakpoints })
Contributing
The issue channel is especially for improvement proposals and bug reporting. If you have implementing problems, please write on StackOverflow with glidejs tag.
Browser Support
- IE 11+
- Edge
- Chrome 10+
- Firefox 10+
- Opera 15+
- Safari 5.1+
- Safari iOS 9+
Building
Build using NPM scripts. The following scripts are available:
build:css
- Outputs CSS files from SASS files.build:js
- Outputs all destination variants of the script.build
- Comprehensively builds the entire library.test
- Runs complete test suite.lint
- Lints library JavaScript files.
Credits
- Jędrzej Chałubek - Creator
- Contributors
License
Copyright (c) 2014-present, Jędrzej Chałubek. Licensed under the terms of the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
dependency not pinned by hash detected -- score normalized to 6
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/node.js.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/node.js.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload-assets-to-tags.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/upload-assets-to-tags.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload-assets-to-tags.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/upload-assets-to-tags.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload-assets-to-tags.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/glidejs/glide/upload-assets-to-tags.yml/master?enable=pin
- Info: 0 out of 8 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 4 out of 4 npmCommand dependencies pinned
Reason
Found 11/30 approved changesets -- score normalized to 3
Reason
4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/node.js.yml:1
- Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1
- Warn: no topLevel permission defined: .github/workflows/upload-assets-to-tags.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
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
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
Project has not signed or included provenance with any releases.
Details
- Warn: release artifact v3.7.1 not signed: https://api.github.com/repos/glidejs/glide/releases/186869589
- Warn: release artifact v3.7.0 not signed: https://api.github.com/repos/glidejs/glide/releases/186384386
- Warn: release artifact v3.6.2 not signed: https://api.github.com/repos/glidejs/glide/releases/163988665
- Warn: release artifact v3.6.1 not signed: https://api.github.com/repos/glidejs/glide/releases/121279071
- Warn: release artifact v3.7.1 does not have provenance: https://api.github.com/repos/glidejs/glide/releases/186869589
- Warn: release artifact v3.7.0 does not have provenance: https://api.github.com/repos/glidejs/glide/releases/186384386
- Warn: release artifact v3.6.2 does not have provenance: https://api.github.com/repos/glidejs/glide/releases/163988665
- Warn: release artifact v3.6.1 does not have provenance: https://api.github.com/repos/glidejs/glide/releases/121279071
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 11 are checked with a SAST tool
Reason
15 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- 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-qrpm-p2h7-hrv2
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Score
3.1
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More