Gathering detailed insights and metrics for gridsome-plugin-vue-toasted
Gathering detailed insights and metrics for gridsome-plugin-vue-toasted
npm install gridsome-plugin-vue-toasted
Typescript
Module System
Min. Node Version
Node Version
NPM Version
57.7
Supply Chain
93.9
Quality
75.3
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
12,404
Last Day
5
Last Week
38
Last Month
172
Last Year
1,953
MIT License
10 Commits
1 Watchers
2 Branches
1 Contributors
Updated on May 21, 2020
Minified
Minified + Gzipped
Latest Version
1.0.3
Package Id
gridsome-plugin-vue-toasted@1.0.3
Unpacked Size
4.90 kB
Size
2.52 kB
File Count
4
NPM Version
6.14.4
Node Version
12.16.2
Cumulative downloads
Total Downloads
Last Day
-16.7%
5
Compared to previous day
Last Week
15.2%
38
Compared to previous week
Last Month
4.2%
172
Compared to previous month
Last Year
-22.3%
1,953
Compared to previous year
1
A Gridsome plugin built on top of Vue-toasted, one of the best toast plugin available for VueJS.
Now you can also use it in Gridsome! ๐ฅ๐ฅ
Vue-toasted is a cool Toast plugin for any Vue-related project, and this plugin enhances the possibility of using it in Gridsome project ๐ฏ.
๐ฅ There are icons built-in supported such as FontAwesome, Material Icons etc.
๐ฅ And it's responsive too!
Check out the official demo.
1yarn add gridsome-plugin-vue-toasted
1npm i gridsome-plugin-vue-toasted --save
Simply add the following code inside gridsome.config.js
1module.exports = { 2 plugins: [ 3 { 4 use: 'gridsome-plugin-vue-toasted', 5 options: {}, // Optional - setup global options for the toast 6 } 7 ] 8}
More information on options API, check out the documentation here
Example: To set up toast displayed from bottom center of the page position: 'bottom-center'
, one toast as a time singletone: true
, and auto disappear after 5 secs duration: 5000
.
1module.exports = [ 2 //... - other plugins 3 { 4 use: 'gridsome-plugin-vue-toasted', 5 options: { 6 position: 'bottom-center', 7 singleton: true, 8 duration: 5000, 9 } 10 } 11]
You can use directly in the component as normal, with a few lines of code:
1//... 2methods: { 3 showToast() { 4 //Info toast 5 this.$toasted.info("I'm a toast ๐ฅช !", /* options */) 6 7 //Error toast 8 this.$toasted.error("Error", /* options */) 9 10 //Success toast 11 this.$toasted.success("Success", /* options */) 12 13 //Or just simple toast 14 this.$toasted.show("Hello World", /* options */) 15 } 16}
๐งผ Clearing toast(s):
1this.$toasted.clear()
๐ Register and personalize a toast dynamically
1this.$toasted.register( 2 'my_cool_toast', //name of the toast 3 "I'm a cool toast", //message of the toast, 4 //options of the toast 5 { 6 type: 'success', 7 icon: 'success', //icon to use for the toast 8 } 9)
A full list of official API documentation here.
I only hold credit for creating the Gridsome plugin wrapper ๐. All other credits go to the awesome team and contributors behind Vue Toasted project and external library (if any).
Enjoy ๐ฅช!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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 2025-03-10
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