Gathering detailed insights and metrics for bootstrap-select
Gathering detailed insights and metrics for bootstrap-select
Gathering detailed insights and metrics for bootstrap-select
Gathering detailed insights and metrics for bootstrap-select
🚀 The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more.
npm install bootstrap-select
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
9,852 Stars
1,863 Commits
2,717 Forks
333 Watching
5 Branches
130 Contributors
Updated on 27 Nov 2024
Minified
Minified + Gzipped
JavaScript (65.33%)
HTML (31.91%)
PowerShell (1.37%)
SCSS (0.76%)
Less (0.64%)
Cumulative downloads
Total Downloads
Last day
-15.8%
17,519
Compared to previous day
Last week
-1%
106,791
Compared to previous week
Last month
0.5%
461,313
Compared to previous month
Last year
-1.8%
5,399,458
Compared to previous year
The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more. Now with Bootstrap 5 support.
You can view a live demo and some examples of how to use the various options here.
Bootstrap-select requires jQuery v1.9.1+, Bootstrap’s dropdown.js component, and Bootstrap's CSS. If you're not already using Bootstrap in your project, a precompiled version of the Bootstrap v3.4.1 minimum requirements can be downloaded here. If using bootstrap-select with Bootstrap v4+, you'll also need Popper.js. For all of Bootstrap v4's requirements, see Getting started. A precompiled version of the requirements will be made available in an upcoming release of bootstrap-select.
Several quick start options are available:
git clone https://github.com/snapappointments/bootstrap-select.git
npm install bootstrap-select
yarn add bootstrap-select
composer require snapappointments/bootstrap-select
Install-Package bootstrap-select
bower install bootstrap-select
1<!-- Latest compiled and minified CSS --> 2<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/css/bootstrap-select.min.css"> 3 4<!-- Latest compiled and minified JavaScript --> 5<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/js/bootstrap-select.min.js"></script> 6 7<!-- (Optional) Latest compiled and minified JavaScript translation files --> 8<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.14.0-beta3/dist/js/i18n/defaults-*.min.js"></script>
The CDN is updated after the release is made public, which means that there is a delay between the publishing of a release and its availability on the CDN.
Bootstrap 4 only works with bootstrap-select v1.13.0+. By default, bootstrap-select automatically detects the version of Bootstrap being used. However, there are some instances where the version detection won't work. See the documentation for more information.
selectpicker
classAdd the selectpicker
class to your select elements to auto-initialize bootstrap-select.
1<select class="selectpicker"> 2 <option>Mustard</option> 3 <option>Ketchup</option> 4 <option>Barbecue</option> 5</select>
1// To style only selects with the my-select class 2$('.my-select').selectpicker();
or
1// To style all selects 2$('select').selectpicker();
If calling bootstrap-select via JavaScript, you will need to wrap your code in a .ready()
block or place it at the bottom of the page (after the last instance of bootstrap-select).
1$(function () { 2 $('select').selectpicker(); 3});
Check out the documentation for further information.
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing. Make sure you're using the latest version of bootstrap-select before submitting an issue.
Bootstrap-select's documentation, included in this repo in the root directory, is built with MkDocs and hosted at https://developer.snapappointments.com/bootstrap-select. The documentation may also be run locally.
Copyright (C) 2012-2018 SnapAppointments, LLC
Licensed under the MIT license.
The latest stable version of the package.
Stable Version
1
0/10
Summary
Cross-Site Scripting in bootstrap-select
Affected Versions
< 1.13.6
Patched Versions
1.13.6
1
6.1/10
Summary
Cross-site scripting in bootstrap-select
Affected Versions
< 1.13.6
Patched Versions
1.13.6
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 4/28 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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