Gathering detailed insights and metrics for @incuca/vue3-toaster
Gathering detailed insights and metrics for @incuca/vue3-toaster
Gathering detailed insights and metrics for @incuca/vue3-toaster
Gathering detailed insights and metrics for @incuca/vue3-toaster
npm install @incuca/vue3-toaster
Typescript
Module System
Node Version
NPM Version
Vue (69.68%)
JavaScript (15.88%)
CSS (12.02%)
HTML (2.42%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
8 Commits
4 Forks
2 Watchers
1 Branches
3 Contributors
Updated on Jun 28, 2022
Latest Version
1.1.1
Package Id
@incuca/vue3-toaster@1.1.1
Unpacked Size
1.09 MB
Size
185.79 kB
File Count
27
NPM Version
7.6.0
Node Version
12.21.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Lightweight toast-notification plugin for Vue 3
1npm install @incuca/vue3-toaster
Import in your main.js
1import Toaster from "@incuca/vue3-toaster"; 2 3createApp(App) 4 .use(Toaster) 5 .mount("#app");
Usage in your components with Options API
1this.$toast.show(message, { ...options }); 2this.$toast.success(`Hey! I'm here`); 3this.$toast.error(`Hey! I'm here`); 4this.$toast.warning(`Hey! I'm here`); 5this.$toast.info(`Hey! I'm here`); 6// Close all opened toasts after 3000ms 7setTimeout(this.$toast.clear, 3000);
Usage with Composition API
1import { inject } from "vue"; 2const toast = inject("toast"); 3toast.show(message, { ...options });
The API methods accepts these options:
Attribute | Type | Default | Description |
---|---|---|---|
message | String | -- | Message text/html (required) |
type | String | default | success , info , warning , error or default |
position | String | bottom-right | top , bottom , top-right , bottom-right ,top-left or bottom-left |
duration | Number/Boolean | 4000 | Visibility duration in milliseconds or false that disables duration |
dismissible | Boolean | true | Allow user close by clicking |
onClick | Function | -- | Do something when user clicks |
onClose | Function | -- | Do something after toast gets dismissed |
queue | Boolean | false | Wait for existing to close before showing new |
maxToasts | Number/Boolean | false | Defines the max of toasts showed in simultaneous |
pauseOnHover | Boolean | true | Pause the timer when mouse hover a toast |
useDefaultCss | Boolean | true | Use default css styles |
This project is licensed under the MIT License - see the LICENSE file for details.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/5 approved changesets -- score normalized to 6
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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
83 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
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