Gathering detailed insights and metrics for @sweetalert2/themes
Gathering detailed insights and metrics for @sweetalert2/themes
Gathering detailed insights and metrics for @sweetalert2/themes
Gathering detailed insights and metrics for @sweetalert2/themes
npm install @sweetalert2/themes
82.4
Supply Chain
95.5
Quality
78.5
Maintenance
50
Vulnerability
100
License
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
228 Stars
240 Commits
92 Forks
9 Watching
1 Branches
11 Contributors
Updated on 27 Nov 2024
SCSS (59.98%)
JavaScript (30.43%)
HTML (9.59%)
Cumulative downloads
Total Downloads
Last day
28.2%
554
Compared to previous day
Last week
-7.5%
2,404
Compared to previous week
Last month
20%
10,798
Compared to previous month
Last year
7.8%
117,572
Compared to previous year
1
You can install all themes at once:
1npm install --save @sweetalert2/themes
Or just a single theme @sweetalert2/theme-<theme_name>
, e.g.
1npm install --save @sweetalert2/theme-dark
Or grab them both from jsdelivr CDN, for example:
1<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@5/dark.css" /> 2<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.js"></script>
With CSS:
1<!-- Include a required theme --> 2<link rel="stylesheet" href="@sweetalert2/themes/dark/dark.css" /> 3 4<script src="sweetalert2/dist/sweetalert2.min.js"></script>
With SASS:
your-app.js
:
1import Swal from 'sweetalert2/dist/sweetalert2.js';
your-app.scss
:
1@import '@sweetalert2/themes/dark/dark.scss';
If you would like to contribute enhancements or fixes, please do the following:
Fork the sweetalert2-themes
repository and clone it locally.
When in the sweetalert2-themes
directory, run yarn install
to install dependencies.
To begin active development, run yarn start
and yarn watch
simultaneously.
Or, if you want to quickly start a new theme, run yarn create-new-theme my-awesome-theme
. This will create the theme's default files.
Has SweetAlert2 helped you create an amazing application? You can show your support by making a donation:
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
6 existing vulnerabilities detected
Details
Reason
1 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
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
Found 0/24 approved changesets -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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